pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: For REASSIGN OWNED for foreign user mappings 6+ messages / 1 participants [nested] [flat]
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/31f88a12a0d9e340f7ccf49e5f133835499c981b Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/f44c5203b741ed2f188a9e58b62e93c8c47e9bb4 Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/4626245bc6d2a484a8dc3169192eadc14dde3a5d Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/629842a8eeab008f0a5487a267ddba26a66a6c29 Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/1f8757ad8c0436a1b1559fb83325a727e05b920e Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: For REASSIGN OWNED for foreign user mappings @ 2015-12-11 21:46 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 6+ messages in thread From: Alvaro Herrera @ 2015-12-11 21:46 UTC (permalink / raw) To: pgsql-committers For REASSIGN OWNED for foreign user mappings As reported in bug #13809 by Alexander Ashurkov, the code for REASSIGN OWNED hadn't gotten word about user mappings. Deal with them in the same way default ACLs do, which is to ignore them altogether; they are handled just fine by DROP OWNED. The other foreign object cases are already handled correctly by both commands. Also add a REASSIGN OWNED statement to foreign_data test to exercise the foreign data objects. (The changes are just before the "cleanup" phase, so it shouldn't remove any existing live test.) Reported by Alexander Ashurkov, then independently by Jaime Casanova. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/8c1615531f4945e5af78ddf1d43af11b6d7b48fd Modified Files -------------- src/backend/catalog/pg_shdepend.c | 5 +++++ src/test/regress/expected/foreign_data.out | 14 ++++++++------ src/test/regress/sql/foreign_data.sql | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2015-12-11 21:46 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org> 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org> 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org> 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org> 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org> 2015-12-11 21:46 pgsql: For REASSIGN OWNED for foreign user mappings Alvaro Herrera <alvherre@alvh.no-ip.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox