RefLib

Reference library for AI

Back

postgresql_16:7.1.6.2 Notes

PostgreSQL 16 > Reference > SQL Commands > ALTER DEFAULT PRIVILEGES > Notes

Use (see postgresql_16:7.2.18)'s \ddp command to obtain information about existing assignments of default privileges. The meaning of the privilege display is the same as explained for \dp in (see postgresql_16:3.2.7).

If you wish to drop a role for which the default privileges have been altered, it is necessary to reverse the changes in its default privileges or use DROP OWNED BY to get rid of the default privileges entry for the role.

Back