From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David G Johnston <david.g.johnston@gmail.com>
Cc: 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
Date: Wed, 3 Sep 2014 12:07:55 -0400
Message-ID: <20140903160755.GG14893@momjian.us> (raw)
In-Reply-To: <20140901204011.GD19338@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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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 <bruce@momjian.us> 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 <bruce@momjian.us> 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
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: bruce@momjian.us, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns
In-Reply-To: <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> <20140903160755.GG14893@momjian.us>
* 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