diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-10-22 15:22:26 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-10-22 15:22:26 -0400 |
commit | 52b927a731e531005c9fb9f895390a66d75cddb7 (patch) | |
tree | 8eca893cf6db2af3017610d9e3fa66bd0391a6ac /contrib/btree_gist/btree_text.c | |
parent | 4048fc458175dbcd7cd81e8ef75ca1ba0ab9bdae (diff) |
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
Diffstat (limited to 'contrib/btree_gist/btree_text.c')
0 files changed, 0 insertions, 0 deletions