From: nikic Operating system: PHP version: master-Git-2012-08-18 (Git) Package: PostgreSQL related Bug Type: Bug Bug description:bytea test failures
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 bug report at https://bugs.php.net/bug.php?id=62857&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62857&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62857&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62857&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62857&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62857&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62857&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62857&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62857&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62857&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62857&r=support Expected behavior: https://bugs.php.net/fix.php?id=62857&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62857&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62857&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62857&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62857&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62857&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62857&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62857&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62857&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62857&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62857&r=mysqlcfg