Hi Eduardo, I'm not sure if you're referring to the other error
mentioned on this bug report, but the pg_byte_escapea error appears to
still be present in 7.2.24-0ubuntu0.18.04.17+esm10

root@bionic-poc-web1:~# php test.php 
PHP Fatal error:  Uncaught Exception: Escape failure in /home/user/test.php:15
Stack trace:
#0 /home/user/test.php(15): pg_escape_bytea(Resource id #4, 'test')
#1 {main}
  thrown in /home/user/test.php on line 15

root@bionic-poc-web1:~# php -v
PHP 7.2.24-0ubuntu0.18.04.17+esm10 (cli) (built: Aug 28 2025 20:18:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.24-0ubuntu0.18.04.17+esm10, Copyright (c) 1999-2018, 
by Zend Technologies

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2121643

Title:
  pg_escape_bytea fails on even trivial byte content

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/2121643/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to