From b75aa49bb8cbc96fc741791bc021a83a697a1307 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 10 Apr 2020 10:44:10 -0400 Subject: [PATCH] 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 --- doc/src/sgml/ref/create_group.sgml | 5 ++++- doc/src/sgml/ref/create_role.sgml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/create_group.sgml b/doc/src/sgml/ref/create_group.sgml index 1b8e76e326..d124c98eb5 100644 --- a/doc/src/sgml/ref/create_group.sgml +++ b/doc/src/sgml/ref/create_group.sgml @@ -30,7 +30,10 @@ CREATE GROUP name [ [ WITH ] password' + | REPLICATION | NOREPLICATION + | BYPASSRLS | NOBYPASSRLS + | CONNECTION LIMIT connlimit + | [ ENCRYPTED ] PASSWORD 'password' | PASSWORD NULL | VALID UNTIL 'timestamp' | IN ROLE role_name [, ...] | IN GROUP role_name [, ...] diff --git a/doc/src/sgml/ref/create_role.sgml b/doc/src/sgml/ref/create_role.sgml index db842732a8..6e4148a17c 100644 --- a/doc/src/sgml/ref/create_role.sgml +++ b/doc/src/sgml/ref/create_role.sgml @@ -44,6 +44,11 @@ CREATE ROLE name [ [ WITH ] + + Description