ERROR: permission denied for sequence

E

How Can We Help?

ERROR: permission denied for sequence

ProblemPHP Warning:  pg_query(): Query failed: ERROR:  permission denied for sequencename in PostgreSql

Solution:

To fix this problem, change the owner to the role that needs to access this sequence

ALTER TABLE sequencename OWNER TO rolename;

Change sequencename to your sequence name and rolename to the owner

About the author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me