[COMMITTERS] pgsql: Fix problems with the "role" GUC and parallel query.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема [COMMITTERS] pgsql: Fix problems with the "role" GUC and parallel query.
Дата
Msg-id E1e8iHM-0003Gb-JE@gemulon.postgresql.org
обсуждение исходный текст
Список 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

В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: pg_receivewal: Add --no-sync option.
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Allow parallel query for prepared statements with genericplans.