CARVIEW |
Select Language
HTTP/2 301
server: nginx
date: Thu, 17 Jul 2025 03:38:16 GMT
content-type: text/html; charset=utf-8
content-length: 0
location: /docs/current/sql-dropuser.html
x-frame-options: DENY
content-security-policy: default-src 'self' ; img-src * data: ; script-src 'unsafe-eval' 'self' www.google-analytics.com ssl.google-analytics.com www.googletagmanager.com tagmanager.google.com data: ; connect-src 'self' www.google-analytics.com ssl.google-analytics.com ; media-src 'self' ; style-src 'self' fonts.googleapis.com tagmanager.google.com ; font-src 'self' fonts.gstatic.com data: ; frame-ancestors 'none' ; report-uri https://csp-report.postgresql.org/
x-xss-protection: 1; mode=block
x-varnish: 188718123
age: 0
via: 1.1 varnish (Varnish/6.0)
strict-transport-security: max-age=31536000
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 00:08:40 GMT
content-type: text/html; charset=utf-8
x-frame-options: DENY
content-security-policy: default-src 'self' ; img-src * data: ; script-src 'unsafe-eval' 'self' www.google-analytics.com ssl.google-analytics.com www.googletagmanager.com tagmanager.google.com data: ; connect-src 'self' www.google-analytics.com ssl.google-analytics.com ; media-src 'self' ; style-src 'self' fonts.googleapis.com tagmanager.google.com 'unsafe-inline' ; font-src 'self' fonts.gstatic.com data: ; frame-ancestors 'none' ; report-uri https://csp-report.postgresql.org/
x-xss-protection: 1; mode=block
content-encoding: gzip
vary: Accept-Encoding
x-varnish: 188718124 187063477
age: 12576
via: 1.1 varnish (Varnish/6.0)
strict-transport-security: max-age=31536000
accept-ranges: bytes
PostgreSQL: Documentation: 17: DROP USER
DROP USER
DROP USER — remove a database role
Synopsis
DROP USER [ IF EXISTS ] name
[, ...]
Description
DROP USER
is simply an alternate spelling of DROP ROLE
.
Compatibility
The DROP USER
statement is a PostgreSQL extension. The SQL standard leaves the definition of users to the implementation.
See Also
DROP ROLESubmit correction
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.