pgsql: pg_dump: fix mis-dumping of non-global default privileges.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: pg_dump: fix mis-dumping of non-global default privileges.
Дата
Msg-id E1me07t-0002bx-1n@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_dump: fix mis-dumping of non-global default privileges.

Non-global default privilege entries should be dumped as-is,
not made relative to the default ACL for their object type.
This would typically only matter if one had revoked some
on-by-default privileges in a global entry, and then wanted
to grant them again in a non-global entry.

Per report from Boris Korzun.  This is an old bug, so back-patch
to all supported branches.

Neil Chen, test case by Masahiko Sawada

Discussion: https://postgr.es/m/111621616618184@mail.yandex.ru
Discussion: https://postgr.es/m/CAA3qoJnr2+1dVJObNtfec=qW4Z0nz=A9+r5bZKoTSy5RDjskMw@mail.gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/476006023538730d2291125b883bfe07d03f3dfa

Modified Files
--------------
src/bin/pg_dump/pg_dump.c        | 19 ++++++++++++++++++-
src/bin/pg_dump/t/002_pg_dump.pl | 19 +++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletion(-)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Add module build directory to the PATH for TAP tests
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix frontend version of sh_error() in simplehash.h.