Re: 9.4 pg_dump use on 9.0 db - Mailing list pgsql-admin

From Stephen Frost
Subject Re: 9.4 pg_dump use on 9.0 db
Date
Msg-id 20150113153445.GQ3062@tamriel.snowman.net
Whole thread Raw
In response to Re: 9.4 pg_dump use on 9.0 db  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: 9.4 pg_dump use on 9.0 db  (Stephen Frost <sfrost@snowman.net>)
List pgsql-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

Attachment

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: 9.4 pg_dump use on 9.0 db
Next
From: Stephen Frost
Date:
Subject: Re: 9.4 pg_dump use on 9.0 db