Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a0sMn-0004nI-S3 for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Nov 2015 14:45:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a0sMn-00068L-EW for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Nov 2015 14:45:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0sMB-0005Nx-7d for pgsql-bugs@postgresql.org; Mon, 23 Nov 2015 14:44:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a0sM7-0003Bs-LE for pgsql-bugs@postgresql.org; Mon, 23 Nov 2015 14:44:38 +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 tANEiSwV001656; Mon, 23 Nov 2015 09:44:28 -0500 From: Tom Lane To: pinker cc: pgsql-bugs@postgresql.org Subject: Re: pg_dump - wrong order with inheritance In-reply-to: <1448281678687-5874794.post@n5.nabble.com> References: <1448281678687-5874794.post@n5.nabble.com> Comments: In-reply-to pinker message dated "Mon, 23 Nov 2015 05:27:58 -0700" Date: Mon, 23 Nov 2015 09:44:28 -0500 Message-ID: <1655.1448289868@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org pinker writes: > *PostgreSQL version*: "PostgreSQL 9.4.4 on i686-pc-linux-gnu, compiled by gcc > (Debian 4.4.5-8) 4.4.5, 32-bit"*Operating system*: Debian GNU/Linux > 6.0*pg_dump*: pg_dump (PostgreSQL) 9.4.4*command*: > /opt/postgresql-9.4.4/bin/pg_dump -U myuser -p 5433 $DBNAME | > /opt/postgresql-9.4.4/bin/psql -p 5433 -U myuser ${DBNAME}_${branch}pg_dump > doesn't dump data in correct order, so I'm not able to properly restore > data. You have not provided enough information to prove that that's the actual nature of the problem, much less for someone else to be able to reproduce it (and thereby maybe fix it, or at least provide useful advice). Please read http://www.postgresql.org/docs/9.4/static/bug-reporting.html and/or https://wiki.postgresql.org/wiki/Guide_to_reporting_problems FWIW, the reason I'm doubtful of your wrong-dump-order diagnosis is that it's pretty hard to see how a not-null violation would arise that way. The subsequent complaints may only be consequences of that one. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs