pgsql: CREATE INDEX: use the original userid for more ACL checks.
В списке pgsql-committers по дате отправления:
| От | Noah Misch |
|---|---|
| Тема | pgsql: CREATE INDEX: use the original userid for more ACL checks. |
| Дата | |
| Msg-id | E1o58MY-001ln7-8X@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/00377b9a02b89a831ae50e1c718d34565356698f Modified Files -------------- contrib/citext/Makefile | 2 +- contrib/citext/expected/create_index_acl.out | 86 +++++++++++++++++++++++++ contrib/citext/sql/create_index_acl.sql | 88 +++++++++++++++++++++++++ src/backend/commands/indexcmds.c | 96 +++++++++++++++++++++++----- 4 files changed, 256 insertions(+), 16 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера