| SQL adaptation guide for PostgreSQL 9.x / Installation (Runtime Configuration) | |
| PostgreSQL version | Shared library environment setting | 
|---|---|
| PostgreSQL 9.0 and higher | UNIX: Add $PGDIR/lib to LD_LIBRARY_PATH (or its equivalent). Windows: Add %PGDIR%\bin to PATH.  | 
$ psql dbname -U appadmin -W
dbi.database.dbname.driver = "dbmpgs"
dbi.database.dbname.source = "test1"
The source parameter must have the following form:
dbname[@host[:port]][?options]
For example:
mydb@orion:5433?connect_timeout=10&application_name=myapp