select version()

Zlatko Matić wrote:
Hello.
 
Is there any way to check the version of PostgreSQL by a query? Maybe by querying catalog tables?
Thanks,
 
Zlatko