Re: New variable server_version_num

From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "David Fetter" <david(at)fetter(dot)org>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org, "Greg Sabino Mullane" <greg(at)turnstep(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: New variable server_version_num
Date: 2006-07-30 16:17:57
Message-ID: 36e682920607300917y18190979me4784ff96eb8eceb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-patches

On 7/30/06, David Fetter <david(at)fetter(dot)org> 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.

--
Jonah H. Harris, Software Architect | phone: 732.331.1300
EnterpriseDB Corporation | fax: 732.331.1301
33 Wood Ave S, 2nd Floor | jharris(at)enterprisedb(dot)com
Iselin, New Jersey 08830 | http://www.enterprisedb.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2006-07-30 16:27:15 Re: New variable server_version_num
Previous Message David Fetter 2006-07-30 16:04:04 Re: New variable server_version_num

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2006-07-30 16:27:15 Re: New variable server_version_num
Previous Message David Fetter 2006-07-30 16:04:04 Re: New variable server_version_num

Browse pgsql-patches by date

  From Date Subject
Next Message David Fetter 2006-07-30 16:27:15 Re: New variable server_version_num
Previous Message David Fetter 2006-07-30 16:04:04 Re: New variable server_version_num