Tom Lane <tgl@sss.pgh.pa.us> wrote:
> On reflection, I'm not sure that pg_restore as such should be applying any
> server version check at all. pg_restore itself has precious little to do
> with whether there will be a compatibility problem; that's mostly down to
> the DDL that pg_dump put into the archive file. And we don't have enough
> information to be very sure about whether it will work, short of actually
> trying it. So why should the code arbitrarily refuse to try?
>
> So I'm inclined to propose that we set min/max to 0 and 999999 here.
Something like the attached back-patched to 8.4?
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company