On Sun, Jul 30, 2006 at 12:17:57PM -0400, Jonah H. Harris wrote: > On 7/30/06, David Fetter <[EMAIL PROTECTED]> wrote: > >Failure to parse means the transaction bails out, which is just > >what I want in my case, as it disallows people attempting to run > >the programs--they're for DBI-Link--on too early a version of > >PostgreSQL. As there are some subtleties to the implementation, I > >need something that quickly returns boolean or fails entirely when > >it detects same. > > From an application development standpoint, it would be nice to have > a strictly numeric version returning function for checking server > compatibility.
It sure would :) Cheers, D (whose boolean function is the output of a numeric comparison between the required server version and the one at hand) -- David Fetter <[EMAIL PROTECTED]> http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq