Add "--exclude-extension" to pg_dump's options. This option (or equivalently specifying "exclude extension pattern" in a filter file) allows extensions matching the specified pattern to be excluded from the dump.
Ayush Vatsa, reviewed by Junwang Zhao, Dean Rasheed, and Daniel Gustafsson. Discussion: https://postgr.es/m/CACX+KaP=VgVy9h-EUh598DTu+-fNr1jyEmpghC8rRp9s=w3...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/522ed12f7c600243870b13d9ff59f8fd5af10978 Modified Files -------------- doc/src/sgml/ref/pg_dump.sgml | 34 +++++++++-- src/bin/pg_dump/pg_dump.c | 33 ++++++++++- src/test/modules/test_pg_dump/t/001_base.pl | 88 ++++++++++++++++++++++++++--- 3 files changed, 139 insertions(+), 16 deletions(-)