Skip site navigation (1) Skip section navigation (2)

Re: Mention pg_dump version portability

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Mention pg_dump version portability
Date: 2006-05-17 16:13:49
Message-ID: 20775.1147882429@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackers
"Jim C. Nasby" <decibel(at)decibel(dot)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

In response to

Responses

pgsql-docs by date

Next:From: Jim C. NasbyDate: 2006-05-17 20:58:45
Subject: Cross-version dumps (was: [DOCS] Mention pg_dump version portability)
Previous:From: Jim C. NasbyDate: 2006-05-17 15:41:20
Subject: Re: Mention pg_dump version portability

pgsql-hackers by date

Next:From: Rod TaylorDate: 2006-05-17 16:16:13
Subject: Re: Compression and on-disk sorting
Previous:From: Bruce MomjianDate: 2006-05-17 16:12:47
Subject: Re: [GENERAL] Querying libpq compile time options

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group