File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ ALTER USER <replaceable class="PARAMETER">role_specification</replaceable> [ WIT
34
34
| BYPASSRLS | NOBYPASSRLS
35
35
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable>
36
36
| [ ENCRYPTED | UNENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>'
37
+ | PASSWORD ( '<replaceable class="PARAMETER">password</replaceable>' USING '<replaceable class="PARAMETER">method</replaceable>' )
37
38
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>'
38
39
39
40
ALTER USER <replaceable class="PARAMETER">name</replaceable> RENAME TO <replaceable>new_name</replaceable>
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ CREATE USER <replaceable class="PARAMETER">name</replaceable> [ [ WITH ] <replac
34
34
| BYPASSRLS | NOBYPASSRLS
35
35
| CONNECTION LIMIT <replaceable class="PARAMETER">connlimit</replaceable>
36
36
| [ ENCRYPTED | UNENCRYPTED ] PASSWORD '<replaceable class="PARAMETER">password</replaceable>'
37
+ | PASSWORD ( '<replaceable class="PARAMETER">password</replaceable>' USING '<replaceable class="PARAMETER">method</replaceable>' )
37
38
| VALID UNTIL '<replaceable class="PARAMETER">timestamp</replaceable>'
38
39
| IN ROLE <replaceable class="PARAMETER">role_name</replaceable> [, ...]
39
40
| IN GROUP <replaceable class="PARAMETER">role_name</replaceable> [, ...]
Original file line number Diff line number Diff line change @@ -227,12 +227,15 @@ CREATE USER <replaceable>name</replaceable>;
227
227
<para>
228
228
A password is only significant if the client authentication
229
229
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
232
232
make use of passwords. Database passwords are separate from
233
233
operating system passwords. Specify a password upon role
234
234
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>.
236
239
</para>
237
240
</listitem>
238
241
</varlistentry>
You can’t perform that action at this time.
0 commit comments