diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2022-12-09 13:12:20 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2022-12-09 13:12:20 +0300 |
commit | 096dd80f3ccc103c8e078fca05e6ccfb2071aa91 (patch) | |
tree | bfcd25f09b535b52d0e0373c9f8909b030f3a537 /doc/src/sgml/ref/psql-ref.sgml | |
parent | 5defdef8aa0535b8e9365ea9cceee60d5731395f (diff) |
Add USER SET parameter values for pg_db_role_setting
The USER SET flag specifies that the variable should be set on behalf of an
ordinary role. That lets ordinary roles set placeholder variables, which
permission requirements are not known yet. Such a value wouldn't be used if
the variable finally appear to require superuser privileges.
The new flags are stored in the pg_db_role_setting.setuser array. Catversion
is bumped.
This commit is inspired by the previous work by Steve Chavez.
Discussion: https://postgr.es/m/CAPpHfdsLd6E--epnGqXENqLP6dLwuNZrPMcNYb3wJ87WR7UBOQ%40mail.gmail.com
Author: Alexander Korotkov, Steve Chavez
Reviewed-by: Pavel Borisov, Steve Chavez
Diffstat (limited to 'doc/src/sgml/ref/psql-ref.sgml')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index d3dd638b148..8a5285da9aa 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1897,6 +1897,13 @@ INSERT INTO tbl1 VALUES ($1, $2) \bind 'first value' 'second value' \g commands are used to define per-role and per-database configuration settings. </para> + + <para> + Since <productname>PostgreSQL</productname> 16 the output includes + column with the values of + <link linkend="sql-alterrole-user-set"><literal>USER SET</literal></link> + flag for each setting. + </para> </listitem> </varlistentry> |