SELECT version()
postgres=# postgres=# SELECT version(); version ------------------------------------------------------------------------------------------ PostgreSQL 8.1.4 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC) 3.4.2 (mingw-special) (1 row) postgres=#