|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-06-17 13:11 UTC] remi@php.net
Description:
------------
Hi,
Running the php test suite, using a client library version 8.4.13 (RHEL-6) against a server running version 9.2.4 (RHEL-6 + RHSCL 1.0beta) reports some failures
/tmp/php-5.4.16/ext/pgsql/tests/08escape.phpt
/tmp/php-5.4.16/ext/pgsql/tests/10pg_convert_85.phpt
/tmp/php-5.4.16/ext/pgsql/tests/12pg_insert_85.phpt
/tmp/php-5.4.16/ext/pgsql/tests/14pg_update_85.phpt
/tmp/php-5.4.16/ext/pgsql/tests/18pg_escape_bytea.phpt
/tmp/php-5.4.16/ext/pgsql/tests/bug37100_85.phpt
/tmp/php-5.4.16/ext/pdo_pgsql/tests/bug46274.phpt
/tmp/php-5.4.16/ext/pdo_pgsql/tests/bug46274_2.phpt
For example PQunescapeBytea function is a pure client side function. So result depends on the client version, not on the server version.
Proposal, keep (or add where is missing):
skip_server_version('8.5dev', '<');
And add:
skip_client_version('8.5dev', '<');
I agree, using a 8.4 client to access a 9.2 server is something which should be avoid...
What is your thoughts ?
(I prefer asking before committing something perhaps stupid)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
On a opposite side pgsql/tests/bug37100.phpt could use skip_client_version('8.5dev', '>='); It will be run and will succeed with client version 8.4