Re: Bug in pg_dump - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Bug in pg_dump
Date
Msg-id CAB7nPqSSGmFhH9DrM-S49AQPV8h0agEi2JgPgKTzY8aZ6zBcYA@mail.gmail.com
Whole thread Raw
In response to Re: Bug in pg_dump  (Gilles Darold <gilles.darold@dalibo.com>)
Responses Re: Bug in pg_dump  (Gilles Darold <gilles.darold@dalibo.com>)
Re: Bug in pg_dump  (David Fetter <david@fetter.org>)
Re: Bug in pg_dump  (Stephen Frost <sfrost@snowman.net>)
Re: Bug in pg_dump  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Wed, Feb 25, 2015 at 7:46 AM, Gilles Darold <gilles.darold@dalibo.com> wrote:
> This is a far better patch and the test to export/import of the
> postgis_topology extension works great for me.
>
> Thanks for the work.

Attached is a patch that uses an even better approach by querying only
once all the FK dependencies of tables in extensions whose data is
registered as dumpable by getExtensionMembership(). Could you check
that it works correctly? My test case passes but an extra check would
be a good nice. The patch footprint is pretty low so we may be able to
backport this patch easily.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jirayut Nimsaeng
Date:
Subject: BDR Multiple database
Next
From: Michael Paquier
Date:
Subject: Re: How to create virtual indexes on postgres