|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #57338 Streaming of LOB elements
Submitted: 2006-11-02 10:35 UTC Modified: 2007-03-01 16:53 UTC
From: rhodesa at us dot ibm dot com Assigned: kfbombar (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: 5.1.2 OS: SUSE LINUX Enterprise Server 9
Private report: No CVE-ID: None
 [2006-11-02 10:35 UTC] rhodesa at us dot ibm dot com
*LOB fields in DB2 can get quite large and start to eat a lot of memory. My recomendation to remedy this is to allow the ability to stream the *LOB elements. So, a fetch would return an array of values for normal fields and a stream handle in which a user can use fred on. Each fetch would close the old streams and open new ones.

This can be accomplished with maping the functions to a php wrapper class which can call the SQLGetSubString function on a  lob locator. This way users can read the info in chunks.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-12 15:07 UTC] kfbombar at us dot ibm dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

 [2007-03-01 16:46 UTC] rhodesa at us dot ibm dot com
Has the new functionality been documented yet? I upgraded my pecl extension but don't know how to enable the streams.
 [2007-03-01 16:53 UTC] kfbombar at us dot ibm dot com
The documentation for the new features is being worked on and will be on as soon as possible.  Sorry for the delay.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 05:03:34 2021 UTC