1--TEST--
2Reusing connection with same connection string
3--EXTENSIONS--
4pgsql
5--SKIPIF--
6<?php include("skipif.inc"); ?>
7--FILE--
8<?php
9include('config.inc');
10
11$db1 = pg_connect($conn_str);
12$db2 = pg_connect($conn_str);
13var_dump($db1, $db2);
14?>
15--EXPECT--
16object(PgSql\Connection)#1 (0) {
17}
18object(PgSql\Connection)#1 (0) {
19}
20