pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Ray Stell <stellr@vt.edu>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: 9.4 pg_dump use on 9.0 db
Date: Tue, 13 Jan 2015 10:34:45 -0500
Message-ID: <20150113153445.GQ3062@tamriel.snowman.net> (raw)
In-Reply-To: <11235.1421162639@sss.pgh.pa.us>
References: <54B52E9B.8020208@vt.edu>
	<11235.1421162639@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Ray Stell <stellr@vt.edu> writes:
> > Is it valid to dump a 9.0 db with a 9.4 pg_dump and make use of the 
> > parallel feature? TIA.
> 
> Yes, but be aware that 9.4 pg_dump will be generating output meant to
> be loaded into a 9.4 server.  You might have to make some adjustments
> if you mean to reload it into 9.0.

Also be aware that you won't get a synchronized snapshot and therefore
the resulting dump might not be valid..

Looking at pg_dump, for my 2c anyway, it'd be nicer if we threw an error
on parallel dump request when the major version doesn't support
synchronized snapshots, unless the user explicitly passed
--no-synchronized-snapshots, indicating that they don't care.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (5+ messages)  latest in thread

Message-ID: <20150113153445.GQ3062@tamriel.snowman.net>
Permalink:  ../20150113153445.GQ3062@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150113153445.GQ3062@tamriel.snowman.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, stellr@vt.edu
  Subject: Re: 9.4 pg_dump use on 9.0 db
  In-Reply-To: <20150113153445.GQ3062@tamriel.snowman.net>

* 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