"David E. Wheeler" <david(at)kineticode(dot)com> writes:
> 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".
> Yeah, but I want to use it in WHERE clauses or CASE statements.
current_setting('server_version_num')
regards, tom lane