pg_dump gets attributes from tables in extensions - Mailing list pgsql-hackers

From Michael Paquier
Subject pg_dump gets attributes from tables in extensions
Date
Msg-id CAB7nPqSO28tQMyvCYHVuDO_jYhzBbAE17whhpPJ0-TyCbYky6w@mail.gmail.com
Whole thread Raw
Responses Re: pg_dump gets attributes from tables in extensions  (Michael Paquier <michael.paquier@gmail.com>)
Re: pg_dump gets attributes from tables in extensions  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi all,

While looking at the patch to fix pg_dump with extensions containing tables referencing each other, I got surprised by the fact that getTableAttrs tries to dump table attributes even for tables that are part of an extension. Is that normal?
Attached is a patch that I think makes things right, but not dumping any tables that are part of ext_member.

Thoughts?

Regards,
--
Michael
Attachment

pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: Allow "snapshot too old" error, to prevent bloat
Next
From: Michael Paquier
Date:
Subject: Re: pg_dump gets attributes from tables in extensions