Content-Length: 291439 | pFad | http://github.com/postgrespro/postgres/commit/7c91e9055d254524d76a72b35a919b8ff9931802

B5 Doc: sync CREATE GROUP syntax synopsis with CREATE ROLE. · postgrespro/postgres@7c91e90 · GitHub
Skip to content

Commit 7c91e90

Browse files
committed
Doc: sync CREATE GROUP syntax synopsis with CREATE ROLE.
CREATE GROUP is an exact alias for CREATE ROLE, and CREATE USER is almost an exact alias, as can easily be confirmed by checking the code. So the man page syntax descriptions ought to match up. The last few additions of role options seem to have forgotten to update create_group.sgml, though. Fix that, and add a naggy reminder to create_role.sgml in hopes of not forgetting again. Discussion: https://postgr.es/m/158647836143.655.9853963229391401576@wrigleys.postgresql.org
1 parent dd0f37e commit 7c91e90

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/7c91e9055d254524d76a72b35a919b8ff9931802

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy