Hi, all
I want to propose to add an additional parameter to ocisavelob() && $lob->save();, which will allow to tell how much of LOB to read from Oracle.
As I understand, this will not break BC, if this parameter will be optional and ocisavelob() will continue to read all LOB's content by default.
And this will require a wrapper for OCILobGetLength to make possible to get LOB's length (ocilobgetlength() imo will be the best name for it).
I can try to write a patch for this.
Any objections?
P.S. there are 18 functions in oci8, which are not documented for rather long time. does anybody care about it?
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net
If you're interrested in writing the patch yourself (and this sounds like a
rather minor one), your best bet is to just write it and submit it for
review (Note: It wouldn't make it into PHP4 as that branch is frozen and
accepting bugfixes only, no new features, but PHP5 has room).
If you don't feel up to writing it yourself, the best place to request
features is http://bugs.php.net and file it under "Feature Request". There,
someone can take "Assignment" of it and complete the changes in CVS.
As to documentation, you can checkout the PHP Manual sources (CVS module:
phpdoc) or just browse them via the web http://cvs.php.net/cvs.php/phpdoc/
to get a feel for how they're laid out. Then, write up new documentation
for the missing pages and submit them to phpdoc@lists.php.net
-Sara
"Antony Dovgal" tony2001@phpclub.net wrote in message
news:20031028171806.1ebb7886.tony2001@phpclub.net...
Hi, all
I want to propose to add an additional parameter to ocisavelob() &&
$lob->save();, which will allow to tell how much of LOB to read from Oracle.
As I understand, this will not break BC, if this parameter will be
optional and ocisavelob() will continue to read all LOB's content by
default.And this will require a wrapper for OCILobGetLength to make possible to
get LOB's length (ocilobgetlength() imo will be the best name for it).
I can try to write a patch for this.Any objections?
P.S. there are 18 functions in oci8, which are not documented for rather
long time. does anybody care about it?
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net
On Tue, 28 Oct 2003 08:42:15 -0800
"Sara Golemon" pollita@php.net wrote:
If you're interrested in writing the patch yourself (and this sounds like a
rather minor one), your best bet is to just write it and submit it for
review (Note: It wouldn't make it into PHP4 as that branch is frozen and
accepting bugfixes only, no new features, but PHP5 has room).
yes, of course I'll submit my patch for review to this list, when it's ready.
I just want to hear what others think about such improvements.
I can propose such new methods of LOB:
eof(), seek(), read(), tell(), rewind(), truncate() (or erase()?), write(), getlength(), trim() and a couple of functions to play with LOB buffering.
some of them will wrap OCI functions (you can find full list at http://docs.linux.cz/Oracle8/server/a58234/new_adva.htm#420699 ) and some will be similar to corresponding filesystem functions.
imho these functions will make work with LOBs more convenient, then it is ATM, but I'm interested to hear other's opinions.
As to documentation, you can checkout the PHP Manual sources (CVS module:
phpdoc) or just browse them via the web http://cvs.php.net/cvs.php/phpdoc/
to get a feel for how they're laid out. Then, write up new documentation
for the missing pages and submit them to phpdoc@lists.php.net
thanx, I know.
the main purpose of my question was to know if someone is already working on this part of manual.
as I can see - noone cares about it. ok, I'll try to help.
WBR,
Antony Dovgal aka tony2001
tony2001@phpclub.net