Skip to content

Commit

Permalink
Skip test on PostgreSQL 10
Browse files Browse the repository at this point in the history
The 42P18 error is not produced by the server anymore.
  • Loading branch information
weltling committed Oct 27, 2017
1 parent 24b1bb0 commit 15a71fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/pdo_pgsql/tests/bug48764.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 15a71fe

Please sign in to comment.