Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftzzl-00052w-RJ for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 18:42:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftzzk-0001se-Ab for pgsql-general@arkaria.postgresql.org; Sun, 26 Aug 2018 18:42:40 +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.89) (envelope-from ) id 1ftzzk-0001sN-2t for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 18:42:40 +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.89) (envelope-from ) id 1ftzzh-00021N-IB for pgsql-general@lists.postgresql.org; Sun, 26 Aug 2018 18:42:39 +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 w7QIgZXJ012839; Sun, 26 Aug 2018 14:42:35 -0400 From: Tom Lane To: Ron cc: pgsql-general@lists.postgresql.org Subject: Re: pg_dump order of operation In-reply-to: References: <19812.1535297050@sss.pgh.pa.us> Comments: In-reply-to Ron message dated "Sun, 26 Aug 2018 13:18:35 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12837.1535308955.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sun, 26 Aug 2018 14:42:35 -0400 Message-ID: <12838.1535308955@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Ron writes: > On 08/26/2018 10:24 AM, Tom Lane wrote: >> Ron writes: >>> In what order does the 9.6 pg_dump dump tables? >> I don't believe the ordering rules have changed materially since 8.4; >> it's intended to be by object kind, and within that by name, except >> where dependencies force doing something else. > I thought that didn't matter, since FK and PK constraints were added (in= the = > required order) after all data was loaded). >> But what are you thinking constitutes the "dump order" in a parallel du= mp? > I don't understand your question. Perhaps I don't understand *your* question. What concrete problem are you having? regards, tom lane