postgresql/src/test/modules/test_pg_dump
Alvaro Herrera f977e6dec8
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 899a04f5ed)
Discussion: https://postgr.es/m/20200217225333.GA30974@alvherre.pgsql
2020-03-11 16:54:54 -03:00
..
expected Handle ALTER EXTENSION ADD/DROP with pg_init_privs 2017-01-29 23:05:07 -05:00
sql Handle ALTER EXTENSION ADD/DROP with pg_init_privs 2017-01-29 23:05:07 -05:00
t Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 2020-03-11 16:54:54 -03:00
.gitignore Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
Makefile Add PGXS options to control TAP and isolation tests, take two 2018-12-03 09:27:35 +09:00
README Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00
test_pg_dump--1.0.sql Dump sequence data based on the TableDataInfo flag 2017-01-19 12:06:21 -05:00
test_pg_dump.control Add TAP tests for pg_dump 2016-05-06 14:06:50 -04:00

test_pg_dump is an extension explicitly to test pg_dump when
extensions are present in the system.