Re: pg_dump doesn't dump new objects created in schemas from extensions - Mailing list pgsql-bugs

From Stephen Frost
Subject Re: pg_dump doesn't dump new objects created in schemas from extensions
Date
Msg-id 20160622134245.GJ21416@tamriel.snowman.net
Whole thread Raw
In response to Re: pg_dump doesn't dump new objects created in schemas from extensions  (Martín Marqués <martin@2ndquadrant.com>)
List pgsql-bugs
* Mart=EDn Marqu=E9s (martin@2ndquadrant.com) wrote:
> El 17/06/16 a las 20:31, Michael Paquier escribi=F3:
> > 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.
>=20
> AFAICS there's a test_pg_dump module in src/test/modules which is there
> to test pg_dump with extensions. I think that might be the best place to
> have these tests.

Yes, that's certainly the intent.  We can't put the test in
src/bin/pg_dump because the extensions aren't available for installation
when those tests are being run (at least, that was the case when I
tried, which is why src/test/modules/test_pg_dump exists).

Thanks!

Stephen

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #14207: A little is lacking to be the most advanced
Next
From: Konstantin Belousov
Date:
Subject: Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD