pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 5+ messages / 1 participants [nested] [flat]
* pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION @ 2020-03-11 19:58 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-03-11 19:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add pg_dump support for ALTER obj DEPENDS ON EXTENSION pg_dump is oblivious to this kind of dependency, so they're lost on dump/restores (and pg_upgrade). Have pg_dump emit ALTER lines so that they're preserved. Add some pg_dump tests for the whole thing, also. Reviewed-by: Tom Lane (offlist) Reviewed-by: Ibrar Ahmed Reviewed-by: Ahsan Hadi (who also reviewed commit 899a04f5ed61) Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b08dee24a5574ba6657d238b91c10f1f8e2608f8 Modified Files -------------- src/bin/pg_dump/common.c | 1 + src/bin/pg_dump/pg_dump.c | 107 +++++++++++++++++++++++++--- src/bin/pg_dump/pg_dump.h | 1 + src/test/modules/test_pg_dump/t/001_base.pl | 32 +++++++++ 4 files changed, 133 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION @ 2020-03-11 19:58 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-03-11 19:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add pg_dump support for ALTER obj DEPENDS ON EXTENSION pg_dump is oblivious to this kind of dependency, so they're lost on dump/restores (and pg_upgrade). Have pg_dump emit ALTER lines so that they're preserved. Add some pg_dump tests for the whole thing, also. Reviewed-by: Tom Lane (offlist) Reviewed-by: Ibrar Ahmed Reviewed-by: Ahsan Hadi (who also reviewed commit 899a04f5ed61) Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f977e6dec8a01f32eee0ccfafc80646d3546b8f7 Modified Files -------------- src/bin/pg_dump/common.c | 1 + src/bin/pg_dump/pg_dump.c | 107 +++++++++++++++++++++++++--- src/bin/pg_dump/pg_dump.h | 1 + src/test/modules/test_pg_dump/t/001_base.pl | 32 +++++++++ 4 files changed, 133 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION @ 2020-03-11 19:58 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-03-11 19:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add pg_dump support for ALTER obj DEPENDS ON EXTENSION pg_dump is oblivious to this kind of dependency, so they're lost on dump/restores (and pg_upgrade). Have pg_dump emit ALTER lines so that they're preserved. Add some pg_dump tests for the whole thing, also. Reviewed-by: Tom Lane (offlist) Reviewed-by: Ibrar Ahmed Reviewed-by: Ahsan Hadi (who also reviewed commit 899a04f5ed61) Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e70187c9b47cc1035a42196e62c4b5958f122a77 Modified Files -------------- src/bin/pg_dump/common.c | 1 + src/bin/pg_dump/pg_dump.c | 107 +++++++++++++++++++++++++--- src/bin/pg_dump/pg_dump.h | 1 + src/test/modules/test_pg_dump/t/001_base.pl | 32 +++++++++ 4 files changed, 133 insertions(+), 8 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION @ 2020-03-11 19:58 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-03-11 19:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add pg_dump support for ALTER obj DEPENDS ON EXTENSION pg_dump is oblivious to this kind of dependency, so they're lost on dump/restores (and pg_upgrade). Have pg_dump emit ALTER lines so that they're preserved. Add some pg_dump tests for the whole thing, also. Reviewed-by: Tom Lane (offlist) Reviewed-by: Ibrar Ahmed Reviewed-by: Ahsan Hadi (who also reviewed commit 899a04f5ed61) Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d04e342ba404171c706f96e501865fe0d5f6b1e5 Modified Files -------------- src/bin/pg_dump/common.c | 1 + src/bin/pg_dump/pg_dump.c | 104 ++++++++++++++++++++++++++-- src/bin/pg_dump/pg_dump.h | 1 + src/test/modules/test_pg_dump/t/001_base.pl | 46 ++++++++++++ 4 files changed, 146 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION @ 2020-03-11 19:58 Alvaro Herrera <alvherre@alvh.no-ip.org> 0 siblings, 0 replies; 5+ messages in thread From: Alvaro Herrera @ 2020-03-11 19:58 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add pg_dump support for ALTER obj DEPENDS ON EXTENSION pg_dump is oblivious to this kind of dependency, so they're lost on dump/restores (and pg_upgrade). Have pg_dump emit ALTER lines so that they're preserved. Add some pg_dump tests for the whole thing, also. Reviewed-by: Tom Lane (offlist) Reviewed-by: Ibrar Ahmed Reviewed-by: Ahsan Hadi (who also reviewed commit 899a04f5ed61) Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2b9d70159154a5ff6eb2d6f09db6f8da433328aa Modified Files -------------- src/bin/pg_dump/common.c | 1 + src/bin/pg_dump/pg_dump.c | 104 ++++++++++++++++++++++++++-- src/bin/pg_dump/pg_dump.h | 1 + src/test/modules/test_pg_dump/t/001_base.pl | 46 ++++++++++++ 4 files changed, 146 insertions(+), 6 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2020-03-11 19:58 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-11 19:58 pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-03-11 19:58 pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-03-11 19:58 pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-03-11 19:58 pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION Alvaro Herrera <alvherre@alvh.no-ip.org> 2020-03-11 19:58 pgsql: Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 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