Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XMf6D-00070G-4B for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Aug 2014 15:25:25 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XMf6C-0002IM-3c for pgsql-hackers@arkaria.postgresql.org; Wed, 27 Aug 2014 15:25:24 +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 1XMf61-000226-QD for pgsql-hackers@postgreSQL.org; Wed, 27 Aug 2014 15:25:14 +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 1XMf5x-0002aL-QQ for pgsql-hackers@postgreSQL.org; Wed, 27 Aug 2014 15:25:11 +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 s7RFOrNS031423; Wed, 27 Aug 2014 11:24:53 -0400 From: Tom Lane To: Bruce Momjian cc: Noah Misch , Alvaro Herrera , majid@apsalar.com, PostgreSQL-development Subject: Re: [BUGS] Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns In-reply-to: <20140827144053.GL14956@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> Comments: In-reply-to Bruce Momjian message dated "Wed, 27 Aug 2014 10:40:53 -0400" Date: Wed, 27 Aug 2014 11:24:53 -0400 Message-ID: <31422.1409153093@sss.pgh.pa.us> 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 Bruce Momjian writes: > I looked at this issue from March and I think we need to do something. > In summary, the problem is that tables using inheritance can be dumped > and reloaded with columns in a different order from the original > cluster. Yeah ... this has been a well-understood issue for a dozen years, and pg_dump goes to considerable trouble to get it right. > I think we have several options: > 1. document this behavior That one. 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