Skip to content

Commit b668a26

Browse files
committed
Fix pgsql notice test failure
1 parent e212320 commit b668a26

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/pgsql/tests/09notice.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ $db = pg_connect($conn_str);
2020

2121
_set_lc_messages();
2222

23+
$res = pg_query($db, 'SET client_min_messages TO NOTICE;');
24+
var_dump($res);
25+
2326
pg_query($db, "BEGIN;");
2427
pg_query($db, "BEGIN;");
2528

@@ -33,6 +36,7 @@ echo "pg_last_notice() is Ok\n";
3336

3437
?>
3538
--EXPECTF--
39+
resource(%d) of type (pgsql result)
3640
Notice: pg_query(): %s already a transaction in progress in %s on line %d
3741
%s already a transaction in progress
3842
pg_last_notice() is Ok

0 commit comments

Comments
 (0)