From 1651be020acd8b68f7298d5d123eb9982fd2adaa Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Tue, 9 Mar 2004 14:37:49 +0000 Subject: [PATCH] Show the connect result --- ext/pgsql/tests/02connection.phpt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ext/pgsql/tests/02connection.phpt b/ext/pgsql/tests/02connection.phpt index f1258f6df13..4f21fcdf91c 100644 --- a/ext/pgsql/tests/02connection.phpt +++ b/ext/pgsql/tests/02connection.phpt @@ -9,6 +9,8 @@ PostgreSQL connection include('config.inc'); $db = pg_pconnect($conn_str); +var_dump($db); + if (pg_connection_status($db) != PGSQL_CONNECTION_OK) { echo "pg_connection_status() error\n"; @@ -44,7 +46,8 @@ if (pg_options($db)) pg_close($db); -echo "OK"; ?> ---EXPECT-- -OK +===DONE=== +--EXPECTF-- +resource(%d) of type (pgsql link%s) +===DONE===