void
pq\Connection::__construct([string
$dsn = ""[, int
$flags = 0]])Create a new PostgreSQL connection. See also General Usage.
string
$dsn# = ""int
$flags# = 0
<?php
$connection = new pq\Connection("dbname=test user=test password=test",
pq\Connection::ASYNC | pq\Connection::PERSISTENT);
?>