Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0fe2780

Browse files
committed
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 andalso 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
1 parent0803514 commit0fe2780

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,9 +998,9 @@ omicron bryanh guest1
998998
separate from operating system user passwords. The password for
999999
each database user is stored in the <literal>pg_authid</literal> system
10001000
catalog. Passwords can be managed with the SQL commands
1001-
<xref linkend="sql-createuser"> and
1001+
<xref linkend="sql-createrole"> and
10021002
<xref linkend="sql-alterrole">,
1003-
e.g., <userinput>CREATEUSER foo WITH PASSWORD 'secret'</userinput>,
1003+
e.g., <userinput>CREATEROLE foo WITH LOGIN PASSWORD 'secret'</userinput>,
10041004
or the <application>psql</application>
10051005
command <literal>\password</literal>.
10061006
If no password has been set up for a user, the stored password

‎doc/src/sgml/ref/create_database.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CREATE DATABASE <replaceable class="parameter">name</replaceable>
4545
<para>
4646
To create a database, you must be a superuser or have the special
4747
<literal>CREATEDB</literal> privilege.
48-
See <xref linkend="sql-createuser">.
48+
See <xref linkend="sql-createrole">.
4949
</para>
5050

5151
<para>

‎doc/src/sgml/user-manag.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ CREATE ROLE <replaceable>name</replaceable> LOGIN;
158158
CREATE USER <replaceable>name</replaceable>;
159159
</programlisting>
160160
(<command>CREATE USER</command> is equivalent to <command>CREATE ROLE</command>
161-
except that <command>CREATE USER</command>assumes <literal>LOGIN</literal> by
161+
except that <command>CREATE USER</command>includes <literal>LOGIN</literal> by
162162
default, while <command>CREATE ROLE</command> does not.)
163163
</para>
164164
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp