From:             [EMAIL PROTECTED]
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

Reply via email to