PHP 4.0 Bug #5244 Updated: seg fault in pg_loreadall()
| From: | Bug Database | Date: | Wed, 28 Jun 2000 13:06:23 +0000 |
| Subject: | PHP 4.0 Bug #5244 Updated: seg fault in pg_loreadall() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22464@lists.php.net to get a copy of this message | ||
ID: 5244
Updated by: jah
Reported By: graeme@inetix.com.au
Status: Assigned
Bug Type: PostgreSQL related
Assigned To: jah
Comments:
Please read the manual about use of functions pg_loread() and
pg_loreadall, your example is just clearly wrong. And you should call
header() before trying to dump data to the browser.
Anyway, it shouldn't segfault on you, so this maybe needs some fixing at
my part too. Hey, did you remember that everything related to large objects
with PostgreSQL must happen inside a transaction? And I don't see you
opening a connection to a database server in your script. Please send a
complete example.
Full Bug description available at: http://bugs.php.net/version4/?id=5244