diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-01-20 13:28:10 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-01-20 13:28:10 +0900 |
commit | a36dc04d424a6bfa03ee2cf75c85a6b7f9697e70 (patch) | |
tree | b7016a5bd03d458a246808a6df505320a6419239 /src/backend/access/gist/gist.c | |
parent | 21378e1fefedcaed3d855ae7aa772555295d05d6 (diff) | |
download | postgresql-a36dc04d424a6bfa03ee2cf75c85a6b7f9697e70.tar.gz postgresql-a36dc04d424a6bfa03ee2cf75c85a6b7f9697e70.zip |
Add regression test for DROP OWNED BY with default ACLs
DROP OWNED BY has a specific code path to remove ACLs stored in
pg_default_acl when cleaning up shared dependencies that had no
coverage with the existing tests. This issue has been found while
digging into the bug fixed by 21378e1.
As ALTER DEFAULT PRIVILEGES impacts the ACLs of all objects created
while the default permissions are visible, the test uses a transaction
rollback to isolate the test and avoid any impact with other sessions
running in parallel.
Reviewed-by: Álvaro Herrera
Discussion: https://postgr.es/m/YAbQ1OD+3ip4lRv8@paquier.xyz
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions