Re: pg_dump doesn't dump new objects created in schemas from extensions

From: Martín Marqués <martin(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dump doesn't dump new objects created in schemas from extensions
Date: 2016-06-18 00:27:08
Message-ID: c3f13a55-9750-cd59-fa1d-b49a88293430@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

El 17/06/16 a las 20:31, Michael Paquier escribió:
>
> Tests, and refactoring.
>
> As this is going to be heavily duplicated, you may want to use a
> different routine for this check. Integrating some tests with a dummy
> extension that creates a schema would also be a good idea as this is
> likely going to modify many code paths. So I think that we should have
> something stored in src/test/modules that gets installed when running
> make check in src/bin/pg_dump, and then one of the TAP scripts in t/
> creates a bunch of objects on the schema created by the extension.

That's sensible, but my day is coming to an end. ;)

I'll see if I can make some time to get all that added, and I'll also
see which other objects need to be dumpable as well.

Thanks for helping out with this.

--
Martín Marqués http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message sobomax 2016-06-18 04:28:12 BUG #14199: The pg_ctl status check on server start is not compatible with the silent_mode=on
Previous Message Michael Paquier 2016-06-17 23:31:18 Re: pg_dump doesn't dump new objects created in schemas from extensions