On Oct 12, 2008, at 11:21, Magnus Hagander wrote:

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

You could do:
select setting from pg_settings where name='server_version_num';

(wrapped in the appropriate subselect to use it in a WHERE clause)

Right, but I want to make it as simple as possible for test writers to use.

Best,

David


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to