Edit report at https://bugs.php.net/bug.php?id=62857&edit=1

 ID:                 62857
 Updated by:         mbecc...@php.net
 Reported by:        ni...@php.net
 Summary:            bytea test failures
-Status:             Assigned
+Status:             Closed
 Type:               Bug
 Package:            PostgreSQL related
 PHP Version:        master-Git-2012-08-18 (Git)
 Assigned To:        mbeccati
 Block user comment: N
 Private report:     N

 New Comment:

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)


Previous Comments:
------------------------------------------------------------------------
[2013-06-01 19:45:46] mbecc...@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-03-23 20:48:17] ni...@php.net

Would be nice if you could have a quick look at this :)

------------------------------------------------------------------------
[2012-08-18 18:21:04] ni...@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



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62857&edit=1

Reply via email to