GNU/Linux |
RedHat 5.2(Apollo) |
|
![]() |
drop_user(l) |
![]() |
drop user -- drop user from within a PostgreSQL instance
drop user username
drop user
statement removes the named user from a PostgreSQL instance, along with any databases owned by the user. It does not remove tables, views, or triggers owned by the named user in database not owned by the user. This statement can be used in the place of destroyuser(1), regardless of how the user was created.
---
--- Drop a user
---
drop user tab;
alter_user(l), create_user(l).
![]() |
drop_user(l) | ![]() |