php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62857 bytea test failures
Submitted: 2012-08-18 18:21 UTC Modified: 2013-06-01 19:45 UTC
From: nikic@php.net Assigned: mbeccati (profile)
Status: Closed Package: PostgreSQL related
PHP Version: master-Git-2012-08-18 (Git) OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nikic@php.net
New email:
PHP Version: OS:

 

 [2012-08-18 18:21 UTC] nikic@php.net
Description:
------------
The following bytea related tests are currently failing for me (and on travis):

https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fpgsql%2Ftests%2F12pg_insert_85.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fpgsql%2Ftests%2F14pg_update_85.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fpgsql%2Ftests%2F10pg_convert_85.phpt
https://qa.php.net/reports/viewreports.php?version=5.5.0-dev&test=%2Fext%2Fpgsql%2Ftests%2F18pg_escape_bytea.phpt

It seems to be some kind of change in the escaping format (double backslash vs single backslash).

I don't use pgsql, so I can't tell whether this is a bug or just an out-of-date test. Would be nice if someone could have a look at this.

If it helps, here are the docs for binary escape formats: http://www.postgresql.org/docs/devel/static/datatype-binary.html


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-03-23 20:48 UTC] nikic@php.net
Would be nice if you could have a quick look at this :)
 [2013-03-23 20:48 UTC] nikic@php.net
-Assigned To: +Assigned To: yohgaki
 [2013-06-01 19:45 UTC] mbeccati@php.net
-Assigned To: yohgaki +Assigned To: mbeccati
 [2013-06-01 19:45 UTC] mbeccati@php.net
Pretty sure the tests were fine back in the day when I added them. I'll try to understand what's changed and why they are failing now.
 [2013-06-01 21:25 UTC] mbeccati@php.net
Automatic comment on behalf of mbeccati
Revision: http://git.php.net/?p=php-src.git;a=commit;h=79803bebdea2827d66c0f96fd3dbaf4a2747ff27
Log: Fixed bug #62857 (bytea test failures)
 [2013-06-01 21:25 UTC] mbeccati@php.net
-Status: Assigned +Status: Closed
 [2014-10-07 23:19 UTC] stas@php.net
Automatic comment on behalf of mbeccati
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=79803bebdea2827d66c0f96fd3dbaf4a2747ff27
Log: Fixed bug #62857 (bytea test failures)
 [2014-10-07 23:30 UTC] stas@php.net
Automatic comment on behalf of mbeccati
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=79803bebdea2827d66c0f96fd3dbaf4a2747ff27
Log: Fixed bug #62857 (bytea test failures)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 02 10:01:28 2025 UTC