pgsql: Recalculate search_path after ALTER ROLE.

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема pgsql: Recalculate search_path after ALTER ROLE.
Дата
Msg-id E1qTpps-001FmA-IW@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Recalculate search_path after ALTER ROLE.  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-committers
Recalculate search_path after ALTER ROLE.

Renaming a role can affect the meaning of the special string $user, so
must cause search_path to be recalculated.

Discussion: https://postgr.es/m/186761d32c0255debbdf50b6310b581b9c973e6c.camel@j-davis.com
Reviewed-by: Nathan Bossart, Michael Paquier
Backpatch-through: 11

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/namespace.c                   |  6 +-
src/test/isolation/expected/search-path-inval.out | 97 +++++++++++++++++++++++
src/test/isolation/isolation_schedule             |  1 +
src/test/isolation/specs/search-path-inval.spec   | 59 ++++++++++++++
4 files changed, 162 insertions(+), 1 deletion(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: doc: PG 16 relnotes, fix various typos
Следующее
От: Jeff Davis
Дата:
Сообщение: pgsql: Recalculate search_path after ALTER ROLE.