Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

remove user and their privileges postgres

REASSIGN OWNED BY <olduser> TO <newuser>
DROP OWNED BY <olduser>
DROP USER <olduser>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #user #privileges #postgres
ADD COMMENT
Topic
Name
5+2 =