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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-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

Browse pgsql-docs by date

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

Browse pgsql-hackers by date

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