Re: [PATCHES] New variable server_version_num
От | David Fetter |
---|---|
Тема | Re: [PATCHES] New variable server_version_num |
Дата | |
Msg-id | 20060730162715.GS2654@fetter.org обсуждение исходный текст |
Ответ на | Re: [PATCHES] New variable server_version_num ("Jonah H. Harris" <jonah.harris@gmail.com>) |
Список | pgsql-hackers |
On Sun, Jul 30, 2006 at 12:17:57PM -0400, Jonah H. Harris wrote: > On 7/30/06, David Fetter <david@fetter.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. 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 <david@fetter.org> http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote!
В списке pgsql-hackers по дате отправления: