Try multiple postgresql versions
[m6w6/ext-pq] / tests / async003.phpt
index bb242fe41849fad0c8e6217d1c8c159231655649..98726420a3c2782131aaedb13c13edfd69ea1e03 100644 (file)
@@ -1,5 +1,5 @@
 --TEST--
-async query
+async exec
 --SKIPIF--
 <?php include "_skipif.inc"; ?>
 --FILE--
@@ -26,9 +26,11 @@ do {
 DONE
 --EXPECTF--
 Test
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
   ["status"]=>
   int(2)
+  ["statusMessage"]=>
+  string(9) "TUPLES_OK"
   ["errorMessage"]=>
   string(0) ""
   ["numRows"]=>
@@ -36,13 +38,17 @@ object(pq\Result)#%d (6) {
   ["numCols"]=>
   int(1)
   ["affectedRows"]=>
-  int(1)
+  int(%d)
   ["fetchType"]=>
   int(0)
+  ["autoConvert"]=>
+  int(65535)
 }
-object(pq\Result)#%d (6) {
+object(pq\Result)#%d (8) {
   ["status"]=>
   int(2)
+  ["statusMessage"]=>
+  string(9) "TUPLES_OK"
   ["errorMessage"]=>
   string(0) ""
   ["numRows"]=>
@@ -50,8 +56,10 @@ object(pq\Result)#%d (6) {
   ["numCols"]=>
   int(3)
   ["affectedRows"]=>
-  int(1)
+  int(%d)
   ["fetchType"]=>
   int(0)
+  ["autoConvert"]=>
+  int(65535)
 }
-DONE
\ No newline at end of file
+DONE