Re: Version Number Function?

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Version Number Function?
Date: 2008-10-12 18:15:18
Message-ID: 369D974D-88AC-453F-91E8-080D40629D6F@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Oct 11, 2008, at 19:57, Tom Lane wrote:

> "David E. Wheeler" <david(at)kineticode(dot)com> writes:
>> Any interest in adding a function like this to core?
>
> No, because it's already there: see "show server_version_num".
>
> (It's probably worth noting that none of our existing clients that
> would
> have any use for this information look at server_version_num, because
> it's only available in 8.2 and up. A function introduced as of 8.4
> would be an additional two major releases behind the curve.)

Yeah, but I want to use it in WHERE clauses or CASE statements. I'm
fine to just include it in pgtap, though.

Best,

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-10-12 18:21:49 Re: Version Number Function?
Previous Message Magnus Hagander 2008-10-12 17:47:28 Re: The Axe list