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