diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 7e92b74..2c9356b 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -6657,6 +6657,10 @@ getTableAttrs(Archive *fout, DumpOptions *dopt, TableInfo *tblinfo, int numTable if (!tbinfo->interesting) continue; + /* Ignore tables part of an extension */ + if (tbinfo->dobj.ext_member) + continue; + /* * Make sure we are in proper schema for this table; this allows * correct retrieval of formatted type names and default exprs