Re: 9.4 pg_dump use on 9.0 db

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Ray Stell <stellr(at)vt(dot)edu>, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: 9.4 pg_dump use on 9.0 db
Date: 2015-01-13 15:34:45
Message-ID: 20150113153445.GQ3062@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

* Tom Lane (tgl(at)sss(dot)pgh(dot)pa(dot)us) wrote:
> Ray Stell <stellr(at)vt(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephen Frost 2015-01-13 15:36:10 Re: 9.4 pg_dump use on 9.0 db
Previous Message Tom Lane 2015-01-13 15:23:59 Re: 9.4 pg_dump use on 9.0 db