Bug #16953: problem with "bytea" column
| From: | stach at toya dot net dot pl | Date: | Wed, 01 May 2002 21:11:29 +0000 |
| Subject: | Bug #16953: problem with "bytea" column | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6672@lists.php.net to get a copy of this message | ||
From: stach@toya.net.pl
Operating system: Win32
PHP version: 4.2.0
PHP Bug Type: PostgreSQL related
Bug description: problem with "bytea" column
Apache 1.3.24 on Win32 (Win 2000), php installed as module.
PostgreSQL 7.2.1 on Linux (Debian).
When trying to select data from a column of type "bytea"
with query "select encode(zdjecie, 'base64') as zdjecie" from php, I get
the following error:
pg_exec() query failed: pqReadData() -- read() failed: errno=0 No error
However, the same code works well (on the same database), when called from
php 4.1.2 apache 1.3.24 on Linux (Debian).
Error reporting is set to E_ALL & ~E_NOTICE.
--
Edit bug report at http://bugs.php.net/?id=16953&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16953&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16953&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16953&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16953&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16953&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16953&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16953&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16953&r=submittedtwice