X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=tests%2Ftrans001.phpt;fp=tests%2Ftrans001.phpt;h=42e8f9eb946ba15b088f06117d6d0ae533738344;hp=1dc97baff9d1fa1bbe8eb0be2c3758be8cb59e0d;hb=76e64a0a6074927832c2f77d8ee45f253179dfad;hpb=04574bc5cdd3d0504d2d70de20279a83ea802019 diff --git a/tests/trans001.phpt b/tests/trans001.phpt index 1dc97ba..42e8f9e 100644 --- a/tests/trans001.phpt +++ b/tests/trans001.phpt @@ -11,6 +11,7 @@ include "_setup.inc"; $c = new pq\Connection(PQ_DSN); $c->exec("DROP TABLE IF EXISTS test CASCADE"); $c->exec("SET client_min_messages TO NOTICE"); +$c->exec("SET lc_messages TO 'C'"); $c->on(pq\Connection::EVENT_NOTICE, function($c, $notice) { echo "Got notice: $notice\n"; });