Re: pg_dump, pg_restore from 9.2 on 8.4 server

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: Jiří Hlinka <jiri(dot)hlinka(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump, pg_restore from 9.2 on 8.4 server
Date: 2013-07-03 11:53:01
Message-ID: CAB8KJ=i1kje=peSB+eiuD6qYevfCTNJT0qHQfR4CDxSWjRtLvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2013/7/3 Jiří Hlinka <jiri(dot)hlinka(at)gmail(dot)com>:
> Hi All,
>
> I have a 8.4 server and I'd like to use --section parameter of pg_dump and
> pg_restore, which is available only in 9.2.
>
> 1. Is it, in general, safe to use 9.2 tools on 8.4 server? AFAIK the tools
> are backward compatible, at least in case of plain SQL commands it should be
> compatible, right?

pg_dump is backwards-compatible all the way to 7.0; see:
http://www.postgresql.org/docs/9.2/static/app-pgdump.html#PG-DUMP-NOTES

> 2. Does the --section parameter need support on a server side, or is it just
> the client tool feature?

It's a pg_dump feature; it seems to work fine using 9.3b2's dump
against an 8.3 database.

Regards

Ian Barwick

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dev Kumkar 2013-07-03 15:38:02 Re: Migration from Sybase to Postgresql
Previous Message Jiří Hlinka 2013-07-03 08:33:33 pg_dump, pg_restore from 9.2 on 8.4 server