pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Clarify documentation of RESET ROLE
6+ messages / 1 participants
[nested] [flat]

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/174edbe9f9c1538ab3347474e96d176223591cd1

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4a1b95fcf4710c9578750d1d9ab4672eab3a5a82

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/53f5c2df05368bade3523d440f5c10cfae6ad5ef

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9e1775a7dfd883865ad0ef6f9286d96522fed80d

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5ef79d4062b81c69204c58eacfc81bd38641235a

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Clarify documentation of RESET ROLE
@ 2021-04-02 17:51  Joe Conway <mail@joeconway.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Joe Conway @ 2021-04-02 17:51 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Clarify documentation of RESET ROLE

Command-line options, or previous "ALTER (ROLE|DATABASE) ...
SET ROLE ..." commands, can change the value of the default role
for a session. In the presence of one of these, RESET ROLE will
change the current user identifier to the default role rather
than the session user identifier. Fix the documentation to
reflect this reality. Backpatch to all supported versions.

Author: Nathan Bossart
Reviewed-By: Laurenz Albe, David G. Johnston, Joe Conway
Reported by: Nathan Bossart
Discussion: https://postgr.es/m/flat/925134DB-8212-4F60-8AB1-B1231D750CB4%40amazon.com
Backpatch-through: 9.6

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9e67a9440736be87d4013ce2d23faa131523c07e

Modified Files
--------------
doc/src/sgml/ref/set_role.sgml | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2021-04-02 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>
2021-04-02 17:51 pgsql: Clarify documentation of RESET ROLE Joe Conway <mail@joeconway.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox