summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-10-27 14:58:43 +0200
committerAnatol Belski <ab@php.net>2017-10-27 14:58:43 +0200
commit24b1bb0abd83f59c6d8ca79a0decdfd739f5aae6 (patch)
tree1e210212b8be54a3bc32d8e30d9333081a6783e7
parent10dc1950f734e41ae001f295b12b54114e247c5e (diff)
downloadphp-git-24b1bb0abd83f59c6d8ca79a0decdfd739f5aae6.tar.gz
Fix test compat for PostgreSQL 10
-rw-r--r--ext/pgsql/tests/pg_update_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/pg_update_001.phpt b/ext/pgsql/tests/pg_update_001.phpt
index 60db35c157..85a86f3d23 100644
--- a/ext/pgsql/tests/pg_update_001.phpt
+++ b/ext/pgsql/tests/pg_update_001.phpt
@@ -24,7 +24,7 @@ var_dump(pg_update($conn, 'foo', array('id' => 10), array('id' => 1), PGSQL_DML_
pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2));
var_dump(pg_update($conn, 'phptests.foo', array('id' => 100), array('id2' => 2), PGSQL_DML_STRING));
-$rs = pg_query('SELECT * FROM foo UNION SELECT * FROM phptests.foo');
+$rs = pg_query('SELECT * FROM foo UNION SELECT * FROM phptests.foo ORDER BY id');
while ($row = pg_fetch_assoc($rs)) {
var_dump($row);
}