pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix problems with the "role" GUC and parallel query.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix problems with the "role" GUC and parallel query.
@ 2017-10-29 07:45 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-10-29 07:45 UTC (permalink / raw)
  To: pgsql-committers

Fix problems with the "role" GUC and parallel query.

Without this fix, dropping a role can sometimes result in parallel
query failures in sessions that have used "SET ROLE" to assume the
dropped role, even if that setting isn't active any more.

Report by Pavan Deolasee.  Patch by Amit Kapila, reviewed by me.

Discussion: http://postgr.es/m/CABOikdOomRcZsLsLK+Z+qENM1zxyaWnAvFh3MJZzZnnKiF+REg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/846fcc85167c417873865099d70068ed85f758a8

Modified Files
--------------
src/backend/access/transam/parallel.c         | 11 +++++++++++
src/backend/utils/misc/guc.c                  | 25 +++++++++----------------
src/include/utils/guc.h                       |  1 +
src/test/regress/expected/select_parallel.out | 16 ++++++++++++++++
src/test/regress/sql/select_parallel.sql      | 11 +++++++++++
5 files changed, 48 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix problems with the "role" GUC and parallel query.
@ 2017-10-29 07:45 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-10-29 07:45 UTC (permalink / raw)
  To: pgsql-committers

Fix problems with the "role" GUC and parallel query.

Without this fix, dropping a role can sometimes result in parallel
query failures in sessions that have used "SET ROLE" to assume the
dropped role, even if that setting isn't active any more.

Report by Pavan Deolasee.  Patch by Amit Kapila, reviewed by me.

Discussion: http://postgr.es/m/CABOikdOomRcZsLsLK+Z+qENM1zxyaWnAvFh3MJZzZnnKiF+REg@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/69125c883df30e6232412d35bf7c89b8c3ad1305

Modified Files
--------------
src/backend/access/transam/parallel.c         | 11 +++++++++++
src/backend/utils/misc/guc.c                  | 25 +++++++++----------------
src/include/utils/guc.h                       |  1 +
src/test/regress/expected/select_parallel.out | 16 ++++++++++++++++
src/test/regress/sql/select_parallel.sql      | 11 +++++++++++
5 files changed, 48 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix problems with the "role" GUC and parallel query.
@ 2017-10-29 07:45 Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: Robert Haas @ 2017-10-29 07:45 UTC (permalink / raw)
  To: pgsql-committers

Fix problems with the "role" GUC and parallel query.

Without this fix, dropping a role can sometimes result in parallel
query failures in sessions that have used "SET ROLE" to assume the
dropped role, even if that setting isn't active any more.

Report by Pavan Deolasee.  Patch by Amit Kapila, reviewed by me.

Discussion: http://postgr.es/m/CABOikdOomRcZsLsLK+Z+qENM1zxyaWnAvFh3MJZzZnnKiF+REg@mail.gmail.com

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f74f871b80a13ef72b19e3d829a109f8df0df792

Modified Files
--------------
src/backend/access/transam/parallel.c         | 11 +++++++++++
src/backend/utils/misc/guc.c                  | 25 +++++++++----------------
src/include/utils/guc.h                       |  1 +
src/test/regress/expected/select_parallel.out | 14 ++++++++++++++
src/test/regress/sql/select_parallel.sql      |  8 ++++++++
5 files changed, 43 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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


end of thread, other threads:[~2017-10-29 07:45 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-10-29 07:45 pgsql: Fix problems with the "role" GUC and parallel query. Robert Haas <rhaas@postgresql.org>
2017-10-29 07:45 pgsql: Fix problems with the "role" GUC and parallel query. Robert Haas <rhaas@postgresql.org>
2017-10-29 07:45 pgsql: Fix problems with the "role" GUC and parallel query. Robert Haas <rhaas@postgresql.org>

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