> This was causing a segmentation fault on a Sun Solaris box.
> On Windows, I got an actual error message. While fetching, the cursor
> has a field of ora datatype TimeStamp. This was crashing DCOracle2. a
> to_char solved the issue.
> I am using DCOracle2 and Oracle 10 on Solaris (and Windows
Chances are good that the C code that is trying to construct the
timestamp doesn't know how to convert it...
A quick peek into the source code hints the code doesn't have a type
converter for SQLT_TIMESTAMP, although there is a converter for
SQLT_DAT (date).
Putting a converter into the C
To give an update:
To run a stored procedure which returns a ref cursor, I tried:
c1 = db.cursor()
c2 = db.cursor()
sql = "storedProcedureName(:inparam1, :inparam2, etccc, :outparam)"
options = (inparam1, inparam2, et, c2)
c1.execute(sql, options)
As recommended below.
This did not work.
Howev