# [PATCH]: oci8 - type of temporary LOB in `ociwritetemporarylob'

- Thread: https://externals.io/message/1185
- Original archive: https://news-web.php.net/php.internals/1185
- Started by novicky@aarongroup.cz on 2003-05-03T12:09:19+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #1185 — novicky@aarongroup.cz — 2003-05-03T12:09:19+00:00

URL: https://externals.io/message/1185#1185

Patch proposal to implement `lob_type' as an optional parameter to the `ociwritetemporarylob' function.

Patch changes file ext/oci8/oci8.c with revision 1.183.2.5.

* * *

The function `ociwritetemporarylob' creates an oracle LOB object. Currently the type of object is set to OCI_TEMP_CLOB and there is no way how to create temporary BLOB.

The enclosed patch defines two constants - types of temporary LOBs:

OCI_TEMP_CLOB
OCI_TEMP_BLOB

and extends the number of parameters of function `ociwritetemporarylob' by an optional parameter LOB type (default value is set to OCI_TEMP_CLOB to preserve backward compatibility).

Can someone check and commit this patch ?

Thanks

Marek

---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.476 / Virová báze: 273 - datum vydání: 24.4.2003
