Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XO9Ch-0007uB-HZ for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Aug 2014 17:46:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XO9Cg-0001Jb-HZ for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Aug 2014 17:46:14 +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 1XO9Ce-0001JM-TZ for pgsql-hackers@postgresql.org; Sun, 31 Aug 2014 17:46:12 +0000 Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1XO9Ca-00067A-Aq for pgsql-hackers@postgresql.org; Sun, 31 Aug 2014 17:46:11 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XO9CW-0006Hk-Ba for pgsql-hackers@postgresql.org; Sun, 31 Aug 2014 10:46:04 -0700 Date: Sun, 31 Aug 2014 10:46:04 -0700 (PDT) From: David G Johnston To: pgsql-hackers@postgresql.org Message-ID: <1409507164344-5817073.post@n5.nabble.com> In-Reply-To: <4268.1409503835@sss.pgh.pa.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> Subject: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.8 (/) 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 Tom Lane-2 wrote > Bruce Momjian < > bruce@ > > writes: >> I have developed the attached patch to warn about column reordering in >> this odd case. The patch mentions the reordering of c: > >> NOTICE: merging column "a" with inherited definition >> NOTICE: merging column "c" with inherited definition; column moved >> earlier to match inherited column location > > This does not comport with our error message style guidelines. > You could put the additional information as an errdetail sentence, > perhaps. Would it be proper to issue an additional top-level warning with the column moved notification? Thus there would be NOTICE, NOTICE, WARNING in the above example? Or, more generically, "columns reordered to match inherited column order" to avoid multiple warnings if more than one column is moved. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Re-BUGS-Re-BUG-9555-pg-dump-for-tables-with-inheritance-recreates-the-table-with-the-wrong-order-of-s-tp5816566p5817073.html Sent from the PostgreSQL - hackers mailing list archive at Nabble.com. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers