Incorrect dropuser command in postgress 11

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Incorrect dropuser command in postgress 11

PG Bug reporting form
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/app-dropuser.html
Description:

The command given in documentation for dropping a postgres user is 'dropuser
<username>' . It should be 'drop user <username>'. The previous one gives
syntax error
Reply | Threaded
Open this post in threaded view
|

Re: Incorrect dropuser command in postgress 11

Daniel Gustafsson
> On 18 Mar 2020, at 19:07, PG Doc comments form <[hidden email]> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/11/app-dropuser.html
> Description:
>
> The command given in documentation for dropping a postgres user is 'dropuser
> <username>' . It should be 'drop user <username>'. The previous one gives
> syntax error

This is the documentation page for the dropuser application, not to be confused
with the SQL command for doing the same, documented at:

        https://www.postgresql.org/docs/11/sql-droprole.html

So the command is perfectly correct, for running the dropuser application.

cheers ./daniel