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

Commit7c91e90

Browse files
committed
Doc: sync CREATE GROUP syntax synopsis with CREATE ROLE.
CREATE GROUP is an exact alias for CREATE ROLE, and CREATE USER isalmost an exact alias, as can easily be confirmed by checking thecode. So the man page syntax descriptions ought to match up. Thelast few additions of role options seem to have forgotten to updatecreate_group.sgml, though. Fix that, and add a naggy reminder tocreate_role.sgml in hopes of not forgetting again.Discussion:https://postgr.es/m/158647836143.655.9853963229391401576@wrigleys.postgresql.org
1 parentdd0f37e commit7c91e90

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎doc/src/sgml/ref/create_group.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ CREATE GROUP <replaceable class="parameter">name</replaceable> [ [ WITH ] <repla
3030
| CREATEROLE | NOCREATEROLE
3131
| INHERIT | NOINHERIT
3232
| LOGIN | NOLOGIN
33-
| [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>'
33+
| REPLICATION | NOREPLICATION
34+
| BYPASSRLS | NOBYPASSRLS
35+
| CONNECTION LIMIT <replaceable class="parameter">connlimit</replaceable>
36+
| [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>' | PASSWORD NULL
3437
| VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
3538
| IN ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
3639
| IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]

‎doc/src/sgml/ref/create_role.sgml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
4444
</synopsis>
4545
</refsynopsisdiv>
4646

47+
<!--
48+
CAUTION: remember to keep create_user.sgml and create_group.sgml
49+
in sync when changing the above synopsis!
50+
-->
51+
4752
<refsect1>
4853
<title>Description</title>
4954

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp