diff options
| author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-03-06 14:16:32 +0100 |
|---|---|---|
| committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-03-06 14:16:32 +0100 |
| commit | d3406d80360776bbcafa05d8b966806012f9594e (patch) | |
| tree | dfd4dd751d869857ffc8309265699709751c4f3c /doc/src | |
| parent | 4211fbd8413b26e0abedbe4338aa7cda2cd469b4 (diff) | |
Fix handling of default option values in createuser
Add description of which one is the default between two complementary
options of --bypassrls and --replication in the help text and docs. In
correspondence let the command always include the tokens corresponding
to every options of that kind in the SQL command sent to server. Tests
are updated accordingly.
Also fix the checks of some trivalue vars which were using literal zero
for checking default value instead of the enum label TRI_DEFAULT. While
not a bug, since TRI_DEFAULT is defined as zero, fixing improves read-
ability improved readability (and avoid bugs if the enum is changed).
Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20220810.151243.1073197628358749087.horikyota.ntt@gmail.com
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/ref/createuser.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index e3af87f71bf..0e19da90d38 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -348,7 +348,7 @@ PostgreSQL documentation <para> The new user will not have the <literal>REPLICATION</literal> privilege, which is described more fully in the documentation for <xref - linkend="sql-createrole"/>. + linkend="sql-createrole"/>. This is the default. </para> </listitem> </varlistentry> |
