Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d68Es-0002xq-Or for pgsql-hackers@arkaria.postgresql.org; Thu, 04 May 2017 04:19:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d68Es-0001BM-5o for pgsql-hackers@arkaria.postgresql.org; Thu, 04 May 2017 04:19:38 +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 1d68Er-0001Au-FY for pgsql-hackers@postgresql.org; Thu, 04 May 2017 04:19:37 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d68Eo-0006fZ-QB for pgsql-hackers@postgresql.org; Thu, 04 May 2017 04:19:36 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id D39465F794; Thu, 4 May 2017 00:19:04 -0400 (EDT) Date: Thu, 4 May 2017 00:19:04 -0400 From: Stephen Frost To: Amit Langote Cc: Amit Langote , Robert Haas , Tom Lane , Noah Misch , Pg Hackers Subject: Re: pg_dump emits ALTER TABLE ONLY partitioned_table Message-ID: <20170504041904.GD21223@tamriel.snowman.net> References: <20170420234334.GW9812@tamriel.snowman.net> <9b7baae3-21b5-a730-1ec4-aee290d54518@lab.ntt.co.jp> <20170425154247.GJ9812@tamriel.snowman.net> <5cdfd834-695a-9c05-8fb4-cde08de21a9b@lab.ntt.co.jp> <20170426143157.GA21223@tamriel.snowman.net> <47e1d272-8ce0-dea8-2bb5-642efa95c337@lab.ntt.co.jp> <20170427141726.GF21223@tamriel.snowman.net> <696c2d04-80aa-57e2-c1c5-6df25e2bbed5@lab.ntt.co.jp> <20170503030520.GR21223@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zN1HJFR/B7wwTray" 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-91-generic (x86_64) X-Uptime: 00:18:24 up 299 days, 5:42, 37 users, load average: 0.11, 0.15, 0.14 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --zN1HJFR/B7wwTray Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Amit, * Amit Langote (amitlangote09@gmail.com) wrote: > On Wed, May 3, 2017 at 12:05 PM, Stephen Frost wrote: > > * Amit Langote (Langote_Amit_f8@lab.ntt.co.jp) wrote: > >> Attached updated patches. > > > > Please find an updated version which corrects the issue with > > binary-upgrade of partitioned tables having partitions in other schemas, > > along with a few other minor improvements. > > > > If you could take a look at it, I'd appreciate it. We already had a > > test case in the pg_dump TAP tests for partitions existing in a schema > > different from the partitioned table, but we weren't checking the > > binary-upgrade case, so I've added a check to do that now. I'm sure > > additional tests would be good to add and will take a look at doing that > > tomorrow, but this hopefully closes at least the latest issue. > > > > Assuming this looks good to you, I'll push it tomorrow, possibly with > > other minor adjustments and perhaps a few more tests. >=20 > Your latest patch looks good to me. Ok, great, thanks for taking a look at it. Too late for me to push it tonight, so I'll do so tomorrow. Thanks again! Stephen --zN1HJFR/B7wwTray Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJZCqu4AAoJEO1sijiDR2RVHB0P/1y0l56ow/6og1I9ozLMyzIU Ke0PLvLZrs0cOwjcpEi/MC+6pjfDzCUU3qJZOvnYmwcGTtsMU5RJ4bbVgeZ8yH3n V6m5TD3nh/IbLexfP+Tw9XrYQjVg6joGMsIFdi3O9RGI1OOUEHV7jxUR5sJU8W80 9PSZ77a5peEgZZtOBZh/9Q3xOLC44xEmqkMYAgsQaq2uJGhl0drinQPlb9JoIghQ HwgKRpCwwACyPdJrgS4OzMp+gzINQSHrZDDIE34X54jZJ0py4Y1rQr6NGpiy/k3R 1sjAPesC+WZD24u44EZHfsHJZOCxsSCVsGGmumXJM7O9RhUH09xBGBK7N+y1eKBx zxTqQjTP3Ya8TqID8T3AFSVLArnU1rk6Bj82V1i1JGKeeL2yJW0CM+uxEQPfD7iJ JdaDMt56FIlVTBvWpQSFrLMyoPaVU7ImmBCyAd25O+ScueHL82dd8rHIf+LGRHF3 mUV9XDoFBHS5E7u7hk9ePmeApvmJ70o4994W3sazScFMT1IlUIIRhr29aLeEPyxc y8CCpOeP0/lHBLat0sk6gsaKxKe+S1PtR1kygfwVlHq83XaCE8H+77M8fP62yu72 cKSfYxECV6DErRXRjMLwzNjj0d0/xCF1bqkU0PK6NLz2jNry4euiu1/FnkXJKXcr nBj1eq2eSFT+py6XXk4K =HjiI -----END PGP SIGNATURE----- --zN1HJFR/B7wwTray--