Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b938a81ced
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.382 kb
Postgresql: connection error catching
$DSN[] = "postgresql://user:pass@";
require_once dirname(__FILE__) . '/../init.php';
function main(&$DB)
if (!is_callable('pg_connect')) print('skip pgsql extension not loaded');
Error: 'pg_connect("host= port=55555 dbname=test user=user") error'
Jump to Line
Something went wrong with that request. Please try again.