ERROR: permission denied for sequence

No Comments

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

Image Credits: Photo by Isis França on Unsplash.

Last Updated On April 07, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link