Re: DROP DATABASE can be done by superuser - Mailing list pgsql-docs

From David G. Johnston
Subject Re: DROP DATABASE can be done by superuser
Date
Msg-id CAKFQuwYp39ENMAFnO9ku-xoO417pyL_uJBj_sgnFU7CFbNat4A@mail.gmail.com
Whole thread
In response to DROP DATABASE can be done by superuser  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
On Wednesday, September 16, 2026, PG Doc comments form <noreply@postgresql.org> wrote:
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/sql-dropdatabase.html
Description:

The DROP DATABASE article would be a bit clearer and more accurate if after
"It can only be executed by the database owner," it said "or a superuser".

It does say that in 22.5, "Destroying a Database".

Personally I prefer saving the few characters since everything can be done by a superuser.  In any case, we are already inconsistent in whether we make that point throughout the SQL Command chapter and I don’t see much value in only changing this specific one in isolation.

David J.

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: DROP DATABASE can be done by superuser
Next
From: Bruce Momjian
Date:
Subject: Re: 8.5.1. Date/Time Input