diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-03-31 09:12:34 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-03-31 09:12:34 +0900 |
commit | 6568cef26e0f40c25ae54b8e20aad8d1410a854b (patch) | |
tree | 406b7986ec4939efef7ae24712dc0df5be1cadc8 /contrib/postgres_fdw/postgres_fdw.h | |
parent | 65158f497a7d7523ad438b2034d01a560fafe6bd (diff) | |
download | postgresql-6568cef26e0f40c25ae54b8e20aad8d1410a854b.tar.gz postgresql-6568cef26e0f40c25ae54b8e20aad8d1410a854b.zip |
Add support for --extension in pg_dump
When specified, only extensions matching the given pattern are included
in dumps. Similarly to --table and --schema, when --strict-names is
used, a perfect match is required. Also, like the two other options,
this new option offers no guarantee that dependent objects have been
dumped, so a restore may fail on a clean database.
Tests are added in test_pg_dump/, checking after a set of positive and
negative cases, with or without an extension's contents added to the
dump generated.
Author: Guillaume Lelarge
Reviewed-by: David Fetter, Tom Lane, Michael Paquier, Asif Rehman,
Julien Rouhaud
Discussion: https://postgr.es/m/CAECtzeXOt4cnMU5+XMZzxBPJ_wu76pNy6HZKPRBL-j7yj1E4+g@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions