pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
DROP DATABASE can be done by superuser
2+ messages / 2 participants
[nested] [flat]

* DROP DATABASE can be done by superuser
@ 2026-09-17 00:16 PG Doc comments form <noreply@postgresql.org>
  2026-09-17 11:06 ` Re: DROP DATABASE can be done by superuser David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2026-09-17 00:16 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: kdg@certek.com

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".







^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: DROP DATABASE can be done by superuser
  2026-09-17 00:16 DROP DATABASE can be done by superuser PG Doc comments form <noreply@postgresql.org>
@ 2026-09-17 11:06 ` David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: David G. Johnston @ 2026-09-17 11:06 UTC (permalink / raw)
  To: kdg@certek.com <kdg@certek.com>; pgsql-docs@lists.postgresql.org <pgsql-docs@lists.postgresql.org>

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.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-09-17 11:06 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 00:16 DROP DATABASE can be done by superuser PG Doc comments form <noreply@postgresql.org>
2026-09-17 11:06 ` David G. Johnston <david.g.johnston@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox