File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 37
37
end;
38
38
' LANGUAGE plpgsql; " );
39
39
40
-
40
+ $ res = pg_query ($ dbh , 'SET client_min_messages TO NOTICE; ' );
41
+ var_dump ($ res );
41
42
$ res = pg_query ($ dbh , 'SELECT test_notice() ' );
42
43
var_dump ($ res );
43
44
$ row = pg_fetch_row ($ res , 0 );
@@ -54,6 +55,7 @@ pg_close($dbh);
54
55
===DONE===
55
56
--EXPECTF--
56
57
resource(%d) of type (pgsql result)
58
+ resource(%d) of type (pgsql result)
57
59
array(1) {
58
60
[0]=>
59
61
string(1) "f"
Original file line number Diff line number Diff line change 37
37
end;
38
38
' LANGUAGE plpgsql; " );
39
39
40
+ $ res = pg_query ($ dbh , 'SET client_min_messages TO NOTICE; ' );
41
+ var_dump ($ res );
42
+
40
43
function tester () {
41
44
$ res = pg_query (dbh, 'SELECT test_notice() ' );
42
45
$ row = pg_fetch_row ($ res , 0 );
@@ -54,6 +57,8 @@ pg_close(dbh);
54
57
?>
55
58
===DONE===
56
59
--EXPECTF--
60
+ resource(%d) of type (pgsql result)
61
+ resource(%d) of type (pgsql result)
57
62
array(1) {
58
63
[0]=>
59
64
string(1) "f"
You can’t perform that action at this time.
0 commit comments