(PHP 4, PHP 5, PHP 7)
Open a PostgreSQL connection
resource pg_connect ( string $connection_string [, int $connect_type ] )
pg_connect() opens a connection to a PostgreSQL database specified by the connection_string.
If a second call is made to pg_connect() with the same connection_string as an existing connection, the existing connection will be returned unless you pass PGSQL_CONNECT_FORCE_NEW as connect_type.
The old s