From 15a71fe045a476e864900657fc8d4d3586aafd02 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Fri, 27 Oct 2017 16:19:42 +0200 Subject: [PATCH] Skip test on PostgreSQL 10 The 42P18 error is not produced by the server anymore. --- ext/pdo_pgsql/tests/bug48764.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo_pgsql/tests/bug48764.phpt b/ext/pdo_pgsql/tests/bug48764.phpt index 715c60a68f..d102a055b0 100644 --- a/ext/pdo_pgsql/tests/bug48764.phpt +++ b/ext/pdo_pgsql/tests/bug48764.phpt @@ -12,7 +12,7 @@ $db = PDOTest::factory(); $client_version = $db->getAttribute(PDO::ATTR_CLIENT_VERSION); $server_version = $db->getAttribute(PDO::ATTR_SERVER_VERSION); -if (version_compare($server_version, '7.4', '<') || version_compare($client_version, '7.4', '<')) { +if (version_compare($server_version, '7.4', '<') || version_compare($client_version, '7.4', '<') || version_compare($server_version, '10', '>=')) { die('skip'); } -- 2.40.0