Skip to content

Commit 50ccdd8

Browse files
committed
pgsqlSetNoticeCallback: tests: set client_min_messages
1 parent c06c561 commit 50ccdd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/pdo_pgsql/tests/issue78621.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ $db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
66
attach($db);
77

88
$db->beginTransaction();
9+
$db->exec("set client_min_messages to notice");
910
$db->exec("create temporary table t (a varchar(3))");
1011
$db->exec("create function hey() returns trigger as \$\$ begin new.a := 'oh'; raise notice 'I tampered your data, did you know?'; return new; end; \$\$ language plpgsql");
1112
$db->exec("create trigger hop before insert on t for each row execute procedure hey()");

0 commit comments

Comments
 (0)