pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: pg_dump order of operation
Date: Sun, 26 Aug 2018 11:24:10 -0400
Message-ID: <19812.1535297050@sss.pgh.pa.us> (raw)
In-Reply-To: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com>
References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com>

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.

But what are you thinking constitutes the "dump order" in a parallel dump?

			regards, tom lane




view thread (7+ messages)  latest in thread

Message-ID: <19812.1535297050@sss.pgh.pa.us>
Permalink:  ../19812.1535297050@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19812.1535297050@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com
  Subject: Re: pg_dump order of operation
  In-Reply-To: <19812.1535297050@sss.pgh.pa.us>
  References: <fc7ab83e-93d4-23e9-51d2-1836ba9bdc29@gmail.com> <19812.1535297050@sss.pgh.pa.us>

* 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