David Wall wrote on 15.10.2008 23:01:
> Is there a way to get the PG version string from JDBC? I'm using PG 8.3.
>
> Thanks,
> David
>
In a portable manner:
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#getDatabaseProductName()
http://java.sun.com/j2se/1.5.0/docs/api/java/sql/DatabaseMetaData.html#getDatabaseProductVersion()
Althout that will not return the information "compiled by..." as the suggested
"select version()" does
Thomas