Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XO8LB-0006B4-6b for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Aug 2014 16:50:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XO8LA-0003Vs-Hp for pgsql-hackers@arkaria.postgresql.org; Sun, 31 Aug 2014 16:50:56 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XO8L8-0003Vh-Qh for pgsql-hackers@postgresql.org; Sun, 31 Aug 2014 16:50:54 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XO8L5-0001wr-MU for pgsql-hackers@postgresql.org; Sun, 31 Aug 2014 16:50:53 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s7VGoZSt004269; Sun, 31 Aug 2014 12:50:35 -0400 From: Tom Lane To: Bruce Momjian cc: Noah Misch , Alvaro Herrera , majid@apsalar.com, PostgreSQL-development Subject: Re: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns In-reply-to: <20140830233226.GC15078@momjian.us> References: <20140313043900.398.17129@wrigleys.postgresql.org> <20140313134739.GD4744@eldon.alvh.no-ip.org> <15349.1394720340@sss.pgh.pa.us> <20140314153304.GA6899@eldon.alvh.no-ip.org> <20140317231212.GA3854149@tornado.leadboat.com> <20140827144053.GL14956@momjian.us> <31422.1409153093@sss.pgh.pa.us> <20140828014030.GA777962@tornado.leadboat.com> <20140830233226.GC15078@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Sat, 30 Aug 2014 19:32:26 -0400" Date: Sun, 31 Aug 2014 12:50:35 -0400 Message-ID: <4268.1409503835@sss.pgh.pa.us> 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 Bruce Momjian 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. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers