Re: [BUG FIX] Version number expressed in octal form by mistake - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [BUG FIX] Version number expressed in octal form by mistake
Date
Msg-id 1388338249.72207.YahooMailNeo@web122305.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: [BUG FIX] Version number expressed in octal form by mistake  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUG FIX] Version number expressed in octal form by mistake
List pgsql-hackers
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
Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Next
From: Tom Lane
Date:
Subject: Re: [BUG FIX] Version number expressed in octal form by mistake