> -----Original Message-----
> From: KUBO Takehiro [mailto:kubo / jiubao.org] 
> Sent: Wednesday, January 18, 2006 11:15 AM
> To: ruby-talk ML
> Subject: Re: Populating 'long' data column with Ruby OCI8 
> (trying again, need a solution badly)

<snip>
 
> How about edit oci8.rb at line 693 as the following:
> 
> from:
>       when SQLT_LNG, SQLT_LBI
>         # TODO: use OCI_DYNAMIC_FETCH
>         datasize = 65535
>       end
> to:
>       when SQLT_LNG, SQLT_LBI
>         # TODO: use OCI_DYNAMIC_FETCH
>         datasize = 100 * 1024
>       end

Making that configurable would be good.  I suspect that's what the Perl
DBI LongReadLength attribute does.

Regards,

Dan