pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim C. Nasby <decibel@decibel.org>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Jim C. Nasby <jnasby@pervasive.com>
Cc: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: Re: Mention pg_dump version portability
Date: Wed, 17 May 2006 12:13:49 -0400
Message-ID: <20775.1147882429@sss.pgh.pa.us> (raw)
In-Reply-To: <20060517154120.GQ26212@decibel.org>
References: <20060515202354.GM26212@pervasive.com>
	<200605152343.k4FNhK703441@candle.pha.pa.us>
	<20060517154120.GQ26212@decibel.org>

"Jim C. Nasby" <decibel@decibel.org> writes:
> pg_dump -Fc | pg_restore will only match the output of pg_dump if
> everything's the same version though, right? Or wrong? What happens if
> pg_dump -Fc is and older version and pg_restore is the current version?

There would probably be some small differences, but 99% of pg_restore's
output is just regurgitating SQL it finds in the dump file.

			regards, tom lane



view thread (7+ messages)

Message-ID: <20775.1147882429@sss.pgh.pa.us>
Permalink:  ../20775.1147882429@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20775.1147882429@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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, decibel@decibel.org, pgman@candle.pha.pa.us, jnasby@pervasive.com
  Subject: Re: Mention pg_dump version portability
  In-Reply-To: <20775.1147882429@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