From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump order of operation
Date: Sun, 26 Aug 2018 13:18:35 -0500
Message-ID: <d6d29967-bf13-ec40-99af-ae62d553955a@gmail.com> (raw)
In-Reply-To: <19812.1535297050@sss.pgh.pa.us>
References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com>
<19812.1535297050@sss.pgh.pa.us>
On 08/26/2018 10:24 AM, Tom Lane wrote:
> Ron <ronljohnsonjr@gmail.com> writes:
>> In v8.4, I noticed that the tables seemed to be dumped in alphabetical
>> order. Not so much, though, in a multithreaded 9.6 dump of an 8.4 database;
>> there's no pattern that I can discern.
>> 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 dump?
I don't understand your question.
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: pg_dump order of operation
In-Reply-To: <d6d29967-bf13-ec40-99af-ae62d553955a@gmail.com>
References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com> <19812.1535297050@sss.pgh.pa.us> <d6d29967-bf13-ec40-99af-ae62d553955a@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox