From 1b795ef0329d64427f3e779e38c7c492c0a15e5d Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Thu, 8 Jan 2026 01:10:36 +0900 Subject: [PATCH] doc: Remove deprecated clauses from CREATE USER/GROUP syntax synopsis. The USER and IN GROUP clauses of CREATE ROLE are deprecated, and commit 8e78f0a1 removed them from the CREATE ROLE syntax syntax synopsis in the docs. However, previously CREATE USER and CREATE GROUP docs still listed these clauses. Since CREATE USER is equivalent to CREATE ROLE ... WITH LOGIN and CREATE GROUP is equivalent to CREATE ROLE, their documented syntax synopsis should match CREATE ROLE to avoid confusion. Therefore this commit removes the deprecated USER and IN GROUP clauses from the CREATE USER and CREATE GROUP syntax synopsis in the docs. Author: Japin Li Reviewed-by: wenhui qiu Reviewed-by: Chao Li Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/MEAPR01MB3031C30E72EF16CFC08C8565B687A@MEAPR01MB3031.ausprd01.prod.outlook.com --- doc/src/sgml/ref/create_group.sgml | 2 -- doc/src/sgml/ref/create_user.sgml | 2 -- 2 files changed, 4 deletions(-) diff --git a/doc/src/sgml/ref/create_group.sgml b/doc/src/sgml/ref/create_group.sgml index d124c98eb51..119d5ff3eb4 100644 --- a/doc/src/sgml/ref/create_group.sgml +++ b/doc/src/sgml/ref/create_group.sgml @@ -36,10 +36,8 @@ CREATE GROUP name [ [ WITH ] password' | PASSWORD NULL | VALID UNTIL 'timestamp' | IN ROLE role_name [, ...] - | IN GROUP role_name [, ...] | ROLE role_name [, ...] | ADMIN role_name [, ...] - | USER role_name [, ...] | SYSID uid diff --git a/doc/src/sgml/ref/create_user.sgml b/doc/src/sgml/ref/create_user.sgml index 48d2089238c..8a138c001c2 100644 --- a/doc/src/sgml/ref/create_user.sgml +++ b/doc/src/sgml/ref/create_user.sgml @@ -36,10 +36,8 @@ CREATE USER name [ [ WITH ] password' | PASSWORD NULL | VALID UNTIL 'timestamp' | IN ROLE role_name [, ...] - | IN GROUP role_name [, ...] | ROLE role_name [, ...] | ADMIN role_name [, ...] - | USER role_name [, ...] | SYSID uid