if ($this->connID !== false
) { if ($persistent === true &&
pg_connection_status($this->connID
) === PGSQL_CONNECTION_BAD &&
pg_ping($this->connID
) === false
) { return false;
} if (!
empty($this->schema
)) { $this->
simpleQuery("SET search_path TO {
$this->schema
},public"
);
} if ($this->
setClientEncoding($this->charset
) === false
) { return false;
} } return $this->connID;
} /**
* Converts the DSN with semicolon syntax.
*/
private function convertDSN() {