I think your best bet is to create a role and assign the permissions that you want to that role/user. I would not change the anything on the superuser. Regards, Bryan -----Original Message----- From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx] On Behalf Of Ondrej Svetlík Sent: Tuesday, August 02, 2016 3:28 PM To: pgsql-admin@xxxxxxxxxxxxxx Subject: Re: Revoke delete on a table for super user Dne 2.8.2016 v 19:27 Tom Lane napsal(a): > "Campbell, Lance" <lance@xxxxxxxxxxxx> writes: >> Is there a way to revoke the ability to perform delete on a table for a user that is a super user? > > No. Superusers bypass all access controls, by definition. Your best > bet is to not do more than you absolutely must as a superuser. > > regards, tom lane > > I guess you could achieve this using a trigger. Regards, Ondřej -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin