Content-Length: 76943 | pFad | http://postgrespro.com/docs/postgrespro/15/sql-dropprofile.html

Postgres Pro Standard : Documentation: 15: DROP PROFILE : Postgres Professional

DROP PROFILE

DROP PROFILE — remove an authentication profile

Synopsis

DROP PROFILE [ IF EXISTS ] name

Description

The DROP PROFILE command removes the specified profile. You must be a database superuser to use this command.

A profile cannot be removed if it is still referenced in any database of the cluster; if this is the case, an error is raised. Before dropping the profile, you must drop all the roles to which it is assigned, or assign another profile to them. Use the ALTER ROLE command if you need to reassign the profile.

Parameters

IF EXISTS

Do not throw an error if the profile does not exist. A notice is issued in this case.

name

The name of the profile to remove.

Examples

Drop the specified profile:

DROP PROFILE admin_profile;








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://postgrespro.com/docs/postgrespro/15/sql-dropprofile.html

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy