How to determine server version inside select statement - Mailing list pgsql-general

From Andrus
Subject How to determine server version inside select statement
Date
Msg-id 09B524D94349460CB65B2ED5D95BBAF1@andrusnotebook
Whole thread Raw
Responses Re: How to determine server version inside select statement
Re: How to determine server version inside select statement
List pgsql-general
I tried

SELECT (SHOW server_version) AS Contents

but got

ERROR:  syntax error at or near "server_version" at character 14


how to get server version inside select statement ?

Andrus.

pgsql-general by date:

Previous
From: Darren Duncan
Date:
Subject: Re: Sorting rows by a column and storing a row number
Next
From: Osvaldo Kussama
Date:
Subject: Re: How to determine server version inside select statement