Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UkdJo-0006tb-NH for pgsql-bugs@arkaria.postgresql.org; Thu, 06 Jun 2013 16:45:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UkdJo-0004LR-3s for pgsql-bugs@arkaria.postgresql.org; Thu, 06 Jun 2013 16:45:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukcc2-0003uh-2X for pgsql-bugs@postgresql.org; Thu, 06 Jun 2013 16:00:30 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ukcbt-00067x-VR for pgsql-bugs@postgresql.org; Thu, 06 Jun 2013 16:00:29 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Ukcbs-00071o-SG for pgsql-bugs@postgresql.org; Thu, 06 Jun 2013 16:00:21 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1Ukcbn-0003LY-Lo for pgsql-bugs@postgresql.org; Thu, 06 Jun 2013 16:00:15 +0000 Date: Thu, 06 Jun 2013 16:00:15 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8215: pg_dump includes table out of order in SQL dump To: pgsql-bugs@postgresql.org From: ijmorlan@uwaterloo.ca X-Pg-Spam-Score: -2.4 (--) 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 The following bug has been logged on the website: Bug reference: 8215 Logged by: Isaac Morland Email address: ijmorlan@uwaterloo.ca PostgreSQL version: 9.2.4 Operating system: Server: Ubuntu 12.04; Client: Mac OS X 10.5.8 Description:=20=20=20=20=20=20=20=20 My understanding is that pg_dump is supposed to include tables in SQL dumps in alphabetical order by table name. If this is wrong then this bug may be invalid and I apologize. In a dump of a particular schema, I'm getting a particular table always coming first. Renaming it to other names does not affect its placement in the output. By contrast, renaming other tables does change their location in the resulting output. I've tried a few things to try to figure out what might be different about the problem table with no success so far. This is a schema-only dump (--schema-only). --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs