Re: [PATCH] 8.5 TODO: Add comments to output indicating version of pg_dump and of the database server

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Alvaro Herrera <alvherre@commandprompt.com>, Josh Berkus <josh@agliodbs.com>, Jim Cox <shakahshakah@gmail.com>, pgsql-hackers@postgresql.org, Peter Eisentraut <peter_e@gmx.net>, David Fetter <david@fetter.org>
Date: 2010-02-24T02:46:14Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Well, "trivial" and "correct" are entirely different things :-(.

> So you are saying if you run pg_restore on the SQL dump file, it doesn't
> pick up the version?

No, I'm saying it printed the wrong thing if you did pg_restore -v from
an archive file made by a different pg_dump version.  I fixed it, but
this patch was *not* ready to commit.

			regards, tom lane