aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/nodeFuncs.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2022-06-25 09:07:41 -0700
committerNoah Misch <noah@leadboat.com>2022-06-25 09:07:41 -0700
commit00377b9a02b89a831ae50e1c718d34565356698f (patch)
tree237bbefdcd9c3940c977938340cb2f65fcc0f59a /src/backend/nodes/nodeFuncs.c
parent2f2e24d90c402738765cb7a458bfc459138ae6b9 (diff)
downloadpostgresql-00377b9a02b89a831ae50e1c718d34565356698f.tar.gz
postgresql-00377b9a02b89a831ae50e1c718d34565356698f.zip
CREATE INDEX: use the original userid for more ACL checks.
Commit a117cebd638dd02e5c2e791c25e43745f233111b used the original userid for ACL checks located directly in DefineIndex(), but it still adopted the table owner userid for more ACL checks than intended. That broke dump/reload of indexes that refer to an operator class, collation, or exclusion operator in a schema other than "public" or "pg_catalog". Back-patch to v10 (all supported versions), like the earlier commit. Nathan Bossart and Noah Misch Discussion: https://postgr.es/m/f8a4105f076544c180a87ef0c4822352@stmuk.bayern.de
Diffstat (limited to 'src/backend/nodes/nodeFuncs.c')
0 files changed, 0 insertions, 0 deletions