Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XPD6K-0007sn-LS for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2014 16:08:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XPD6K-0000YL-1H for pgsql-hackers@arkaria.postgresql.org; Wed, 03 Sep 2014 16:08:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XPD6I-0000YB-Q5 for pgsql-hackers@postgresql.org; Wed, 03 Sep 2014 16:08:02 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XPD6E-0004eD-Qy for pgsql-hackers@postgresql.org; Wed, 03 Sep 2014 16:08:01 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1XPD6B-0000yM-LM; Wed, 03 Sep 2014 12:07:55 -0400 Date: Wed, 3 Sep 2014 12:07:55 -0400 From: Bruce Momjian To: Tom Lane Cc: David G Johnston , pgsql-hackers@postgresql.org Subject: Re: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns Message-ID: <20140903160755.GG14893@momjian.us> References: <20140827144053.GL14956@momjian.us> <31422.1409153093@sss.pgh.pa.us> <20140828014030.GA777962@tornado.leadboat.com> <20140830233226.GC15078@momjian.us> <4268.1409503835@sss.pgh.pa.us> <1409507164344-5817073.post@n5.nabble.com> <14363.1409508633@sss.pgh.pa.us> <20140901200040.GC19338@momjian.us> <16088.1409602018@sss.pgh.pa.us> <20140901204011.GD19338@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140901204011.GD19338@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -3.6 (---) 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 On Mon, Sep 1, 2014 at 04:40:11PM -0400, Bruce Momjian wrote: > On Mon, Sep 1, 2014 at 04:06:58PM -0400, Tom Lane wrote: > > Bruce Momjian writes: > > > NOTICE: moving and merging column "c" with inherited definition > > > DETAIL: user-specified column moved to the location of the inherited > > > column > > > > Dept of nitpicking: errdetail messages are supposed to be complete > > sentences, properly capitalized and punctuated. Please re-read the > > style guidelines if you have forgotten them. > > Oh, yeah; updated patch attached. OK, patch applied. This will warn about reordering that happens via SQL, and via pg_dump restore. Do we want to go farther and preserve column ordering by adding ALTER TABLE [constraint] ISLOCAL and have pg_dump reuse binary-upgrade mode? -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers