diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-03-11 16:54:54 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2020-03-11 16:54:54 -0300 |
commit | d04e342ba404171c706f96e501865fe0d5f6b1e5 (patch) | |
tree | b7c4baeb1a9bd12cb78e174e9979a4e5936573e2 /src/backend/commands/tablecmds.c | |
parent | 05283dd5b5792b094b8211d46fef1082d411e679 (diff) |
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
Diffstat (limited to 'src/backend/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions