Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFiRj-0007l8-An for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Jun 2016 13:43:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bFiRi-0005iL-U3 for pgsql-bugs@arkaria.postgresql.org; Wed, 22 Jun 2016 13:43:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bFiR4-0003Z8-8G for pgsql-bugs@postgresql.org; Wed, 22 Jun 2016 13:43:18 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFiR2-0000Dn-7J for pgsql-bugs@postgresql.org; Wed, 22 Jun 2016 13:43:16 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id DCCBE5F796; Wed, 22 Jun 2016 09:42:45 -0400 (EDT) Date: Wed, 22 Jun 2016 09:42:45 -0400 From: Stephen Frost To: =?iso-8859-1?Q?Mart=EDn_Marqu=E9s?= Cc: Michael Paquier , Alvaro Herrera , PostgreSQL mailing lists Subject: Re: pg_dump doesn't dump new objects created in schemas from extensions Message-ID: <20160622134245.GJ21416@tamriel.snowman.net> References: <409fe594-f4cc-89f5-c0d2-0a921987a864@2ndquadrant.com> <20160616185547.GA72247@alvherre.pgsql> <24a4d9cf-025d-d855-fe76-3af3f878174d@2ndquadrant.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="up5pTMb9CuelxENa" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-77-generic (x86_64) X-Uptime: 09:41:11 up 120 days, 10:34, 41 users, load average: 0.28, 0.26, 0.20 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --up5pTMb9CuelxENa Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * 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 --up5pTMb9CuelxENa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXapXVAAoJEO1sijiDR2RVN3AP/i62oJWLis5VycYMalLg0N/L rs7mgUENDKk4+KStOumd08lRHuNXO9PuB4GkWDPGfwaV48HeJ/rkCNAAarydxhEp oIcBhjTwFpS7XPNWMBXZR/B7Wse50ZFrISnXsbKJ6GZotBnfDI57UVpxU7SyOy0v kKoi1rfrETePNXTZeXZWFSKbsF3W4P7YhSC/Cl2iuOBGkeeUlvE9y7I+B0GmHXxS VkRfGJOcdApWQciga2SkclRfISyK/mlmicnJO5hbNFWrp8XF43QsT/bLrDO6vZZa edHjl/YPeffEGCHtNG/U0bFZC7yo8AM/E0dsV2pCuKO7lNTGkIcjID+PEHmuAs9g qSzutHGk3eGP7gRYuXsm8c4VmvKOQP1wBnNk55ddlrlsH/1UXRMH2twe+36Ad9ia +D8yV2bzmZAkwG7mO2/7F6CATGmr4WL9t4id8EJtg/m1Kz9L0hAIrpfwSb3fQh+y lfz0NkdbL4LBcqoJ8gC3Gvrk8WsDnjiz4WoNuGnB0SQRej0ps8onk+ArGuOrXd1u v85UVv2c38HfyKZy+S5gNscvQkKZi/gmriCF2wnW7pOTxqwc59z18NEfWOVu9OzQ GBM9MElkxIEzVsmf7Zt9dSpJGElhJOShE2P0JbcBDjVXlcv1lxILzfXBO5ELbWKM 6Dw4GoGgeghGEkyLsKei =vK4h -----END PGP SIGNATURE----- --up5pTMb9CuelxENa--