1--TEST-- 2Bug #75419 Default link leaked via pg_close() 3--SKIPIF-- 4<?php include("skipif.inc"); ?> 5--FILE-- 6<?php 7include('config.inc'); 8 9$db1 = pg_connect($conn_str, PGSQL_CONNECT_FORCE_NEW); 10$db2 = pg_connect($conn_str, PGSQL_CONNECT_FORCE_NEW); 11pg_close($db1); 12var_dump(pg_ping()); 13--EXPECT-- 14bool(true) 15