Skip to content

Commit 8e78f0a

Browse files
committed
doc: Move CREATE ROLE's IN GROUP and USER to deprecated
Reported-by: t.kitynski@gmail.com Discussion: https://postgr.es/m/167473556945.2667294.2003897901995802549@wrigleys.postgresql.org Backpatch-through: master
1 parent 914599e commit 8e78f0a

File tree

1 file changed

+16
-21
lines changed

1 file changed

+16
-21
lines changed

doc/src/sgml/ref/create_role.sgml

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,8 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ [ WITH ] <replac
3636
| [ ENCRYPTED ] PASSWORD '<replaceable class="parameter">password</replaceable>' | PASSWORD NULL
3737
| VALID UNTIL '<replaceable class="parameter">timestamp</replaceable>'
3838
| IN ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
39-
| IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]
4039
| ROLE <replaceable class="parameter">role_name</replaceable> [, ...]
4140
| ADMIN <replaceable class="parameter">role_name</replaceable> [, ...]
42-
| USER <replaceable class="parameter">role_name</replaceable> [, ...]
4341
| SYSID <replaceable class="parameter">uid</replaceable>
4442
</synopsis>
4543
</refsynopsisdiv>
@@ -294,15 +292,6 @@ in sync when changing the above synopsis!
294292
</listitem>
295293
</varlistentry>
296294

297-
<varlistentry>
298-
<term><literal>IN GROUP</literal> <replaceable class="parameter">role_name</replaceable></term>
299-
<listitem>
300-
<para><literal>IN GROUP</literal> is an obsolete spelling of
301-
<literal>IN ROLE</literal>.
302-
</para>
303-
</listitem>
304-
</varlistentry>
305-
306295
<varlistentry>
307296
<term><literal>ROLE</literal> <replaceable class="parameter">role_name</replaceable></term>
308297
<listitem>
@@ -326,16 +315,6 @@ in sync when changing the above synopsis!
326315
</listitem>
327316
</varlistentry>
328317

329-
<varlistentry>
330-
<term><literal>USER</literal> <replaceable class="parameter">role_name</replaceable></term>
331-
<listitem>
332-
<para>
333-
The <literal>USER</literal> clause is an obsolete spelling of
334-
the <literal>ROLE</literal> clause.
335-
</para>
336-
</listitem>
337-
</varlistentry>
338-
339318
<varlistentry>
340319
<term><literal>SYSID</literal> <replaceable class="parameter">uid</replaceable></term>
341320
<listitem>
@@ -484,6 +463,22 @@ CREATE ROLE <replaceable class="parameter">name</replaceable> [ WITH ADMIN <repl
484463
by giving users the <literal>NOINHERIT</literal> attribute, while roles are
485464
given the <literal>INHERIT</literal> attribute.
486465
</para>
466+
467+
<para>
468+
The <literal>USER</literal> clause has the same behavior as
469+
<literal>ROLE</literal> but has been deprecated:
470+
<synopsis>
471+
USER <replaceable class="parameter">role_name</replaceable> [, ...]
472+
</synopsis>
473+
</para>
474+
475+
<para>
476+
The <literal>IN GROUP</literal> clause has the same behavior as <literal>IN
477+
ROLE</literal> but has been deprecated:
478+
<synopsis>
479+
IN GROUP <replaceable class="parameter">role_name</replaceable> [, ...]
480+
</synopsis>
481+
</para>
487482
</refsect1>
488483

489484
<refsect1>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy