On Thu, Feb 21, 2002 at 04:41:37PM -0500, Kevin White wrote:
> I'm having trouble with Perl scripts that to a select of a date field,
> specifically in the enclosed test, a timestamp(6).
> 
> Attached are the files requested in the README.
> 
> I'm using Red Hat Linux 7.1 and Oracle 9.0.1.  Perl is 5.6.0, DBI is
> 1.21, DBD-Oracle 1.12.
> 
> When I select a timestamp field, I get a segmentation fault.

DBD::Oracle doesn't understand the new Oracle 9i data types.
That _may_ be the problem.

> It looks like the problem is deep in the bowels of Oracle, which makes
> me think my change of the format has something to do with this.

Also very possible.

> Please help...as the sample script shows, I discovered a workaround
> (to_char), but I'd like to help resolve this.

to_char is the obvious workaround.

> I'd love to help out in any way.

Start digging into the DBD::Oracle code :)
Especially dbd_describe (oci8.c)

Tim.

Reply via email to