mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Remove inbound links to sql-createuser
CREATE USER is an alias for CREATE ROLE, not its own command any longer, so clean up references to the 'sql-createuser' link to go to 'sql-createrole' instead. In passing, change a few cases of 'CREATE USER' to be 'CREATE ROLE ... LOGIN'. The remaining cases appear reasonable and also mention the distinction between 'CREATE ROLE' and 'CREATE USER'. Also, don't say CREATE USER "assumes" LOGIN, but rather "includes". Patch-by: David G. Johnston, with assumes->includes by me. Discussion: https://postgr.es/m/CAKFQuwYrbhKV8hH4TEABrDRBwf=gKremF=mLPQ6X2yGqxgFpYA@mail.gmail.com
This commit is contained in:
@ -998,9 +998,9 @@ omicron bryanh guest1
|
||||
separate from operating system user passwords. The password for
|
||||
each database user is stored in the <literal>pg_authid</literal> system
|
||||
catalog. Passwords can be managed with the SQL commands
|
||||
<xref linkend="sql-createuser"> and
|
||||
<xref linkend="sql-createrole"> and
|
||||
<xref linkend="sql-alterrole">,
|
||||
e.g., <userinput>CREATE USER foo WITH PASSWORD 'secret'</userinput>,
|
||||
e.g., <userinput>CREATE ROLE foo WITH LOGIN PASSWORD 'secret'</userinput>,
|
||||
or the <application>psql</application>
|
||||
command <literal>\password</literal>.
|
||||
If no password has been set up for a user, the stored password
|
||||
|
Reference in New Issue
Block a user