pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Martín Marqués <martin@2ndquadrant.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: pg_dump doesn't dump new objects created in schemas from extensions
Date: Wed, 22 Jun 2016 09:42:45 -0400
Message-ID: <20160622134245.GJ21416@tamriel.snowman.net> (raw)
In-Reply-To: <c6152113-51ae-438f-759b-7023b9fdac38@2ndquadrant.com>
References: <409fe594-f4cc-89f5-c0d2-0a921987a864@2ndquadrant.com>
	<20160616185547.GA72247@alvherre.pgsql>
	<CAPdiE1wgOVvWq3q9W3wAKrin1LnQevwQQet+qGoe_sMnfRbbjA@mail.gmail.com>
	<CAB7nPqQJzP1dLCwa9uj-keJafmLd3KXDQbRmsSYZbkNz3nu_uA@mail.gmail.com>
	<24a4d9cf-025d-d855-fe76-3af3f878174d@2ndquadrant.com>
	<CAB7nPqTW-m5+H0E_BuMaN1=6Go4vbP1xhz4gbiXf3TMdNSchcg@mail.gmail.com>
	<c6152113-51ae-438f-759b-7023b9fdac38@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

* Martín Marqués (martin@2ndquadrant.com) wrote:
> El 17/06/16 a las 20:31, Michael Paquier escribió:
> > 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.
> 
> 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

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (20+ messages)  latest in thread

Message-ID: <20160622134245.GJ21416@tamriel.snowman.net>
Permalink:  ../20160622134245.GJ21416@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20160622134245.GJ21416@tamriel.snowman.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: sfrost@snowman.net, martin@2ndquadrant.com, michael.paquier@gmail.com, alvherre@2ndquadrant.com
  Subject: Re: pg_dump doesn't dump new objects created in schemas from extensions
  In-Reply-To: <20160622134245.GJ21416@tamriel.snowman.net>
  References: <409fe594-f4cc-89f5-c0d2-0a921987a864@2ndquadrant.com> <20160616185547.GA72247@alvherre.pgsql> <CAPdiE1wgOVvWq3q9W3wAKrin1LnQevwQQet+qGoe_sMnfRbbjA@mail.gmail.com> <CAB7nPqQJzP1dLCwa9uj-keJafmLd3KXDQbRmsSYZbkNz3nu_uA@mail.gmail.com> <24a4d9cf-025d-d855-fe76-3af3f878174d@2ndquadrant.com> <CAB7nPqTW-m5+H0E_BuMaN1=6Go4vbP1xhz4gbiXf3TMdNSchcg@mail.gmail.com> <c6152113-51ae-438f-759b-7023b9fdac38@2ndquadrant.com> <20160622134245.GJ21416@tamriel.snowman.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox