Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-11-09 Thread Martin Evans
Tim Bunce wrote: > On Tue, Oct 27, 2009 at 02:54:43PM +, Martin Evans wrote: >>> The next question is whether overflowing to an NV should be an error. >>> I'm thinking we could adopt these semantics for bind_col types: >>> >>> SQL_INTEGER IV or UV via sv_2iv(sv) with error on overflow >> thi

Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-11-09 Thread Tim Bunce
On Mon, Nov 09, 2009 at 02:43:28PM +, Martin Evans wrote: > I'm presuming you missed a bit off your patch: Yes, sorry, I was just "throwing it out there" for discussion of the general approach/principles. None so far. Tim.

Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-11-09 Thread Martin Evans
Martin Evans wrote: > Tim Bunce wrote: >> On Tue, Oct 27, 2009 at 02:54:43PM +, Martin Evans wrote: The next question is whether overflowing to an NV should be an error. I'm thinking we could adopt these semantics for bind_col types: SQL_INTEGER IV or UV via sv_2iv(sv) wi

Re: DBD::Oracle, Support binding of integers so they are returned as IVs

2009-11-09 Thread Tim Bunce
On Mon, Nov 09, 2009 at 05:05:11PM +, Martin Evans wrote: > Martin Evans wrote: > >> > >> +/* Convert a simple string representation of a value into a more specific > >> + * perl type based on an sql_type value. > >> + * The semantics of SQL standard TYPE values are interpreted _very_ > >> l