postgresql/contrib/citext
Noah Misch 8782ce49e4 CREATE INDEX: use the original userid for more ACL checks.
Commit a117cebd63 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
2022-06-25 09:07:45 -07:00
..
expected CREATE INDEX: use the original userid for more ACL checks. 2022-06-25 09:07:45 -07:00
sql CREATE INDEX: use the original userid for more ACL checks. 2022-06-25 09:07:45 -07:00
.gitignore
citext--1.0--1.1.sql
citext--1.1--1.2.sql
citext--1.2--1.3.sql
citext--1.3--1.4.sql
citext--1.4--1.5.sql
citext--1.4.sql
citext--1.5--1.6.sql
citext.c
citext.control
Makefile CREATE INDEX: use the original userid for more ACL checks. 2022-06-25 09:07:45 -07:00