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

Commit3642c07

Browse files
committed
SCRAM documentaton fixes
1 parented185f5 commit3642c07

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

‎doc/src/sgml/ref/alter_user.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ALTER USER <replaceable class="PARAMETER">role_specification</replaceable> [ WIT
3434
| BYPASSRLS | NOBYPASSRLS
3535
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable>
3636
| [ ENCRYPTED | UNENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>'
37+
| PASSWORD ( '<replaceable class="PARAMETER">password</replaceable>' USING '<replaceable class="PARAMETER">method</replaceable>' )
3738
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>'
3839

3940
ALTER USER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable>

‎doc/src/sgml/ref/create_user.sgml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
3434
| BYPASSRLS | NOBYPASSRLS
3535
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable>
3636
| [ ENCRYPTED | UNENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>'
37+
| PASSWORD ( '<replaceable class="PARAMETER">password</replaceable>' USING '<replaceable class="PARAMETER">method</replaceable>' )
3738
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>'
3839
| IN ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...]
3940
| IN GROUP <replaceable class="PARAMETER">role_name</replaceable> [, ...]

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,12 +227,15 @@ CREATE USER <replaceable>name</replaceable>;
227227
<para>
228228
A password is only significant if the client authentication
229229
method requires the user to supply a password when connecting
230-
to the database. The <option>password</> and
231-
<option>md5</> authentication methods
230+
to the database. The <option>password</>, <option>md5</>,
231+
and<option>scram</> authentication methods
232232
make use of passwords. Database passwords are separate from
233233
operating system passwords. Specify a password upon role
234234
creation with <literal>CREATE ROLE
235-
<replaceable>name</replaceable> PASSWORD '<replaceable>string</>'</literal>.
235+
<replaceable>name</replaceable> PASSWORD '<replaceable>string</>'</literal>
236+
or <literal>CREATE ROLE
237+
<replaceable>name</replaceable> PASSWORD ('<replaceable>string</>'
238+
USING '<replaceable>method</>')</literal>.
236239
</para>
237240
</listitem>
238241
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp