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

2009-11-27 Thread Tim Bunce
On Fri, Nov 27, 2009 at 06:03:29PM -, Greg Sabino Mullane wrote: > > > I'm mostly settled on DBIstcf_STRICT _not_ being the default. > > So 'loosely typed' will be the default and people who want an error > > if the type can't be cast safely will need to use StrictlyTyped => 1. > >

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

2009-11-27 Thread Martin J. Evans
Greg Sabino Mullane wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 I'm mostly settled on DBIstcf_STRICT _not_ being the default. So 'loosely typed' will be the default and people who want an error if the t

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

2009-11-27 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > I'm mostly settled on DBIstcf_STRICT _not_ being the default. > So 'loosely typed' will be the default and people who want an error > if the type can't be cast safely w

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
On Fri, 27 Nov 2009 10:17:01 -0500, John Scoles wrote: > Of you could give it a try on 64 bit power solaris it you want to tug > all of your hair out. Would that be just as bad as True64? I feel your pain however. > H.Merijn Brand wrote: > > On Fri, 27 Nov 2009 10:41:19 -0400, Ralph Doncaster

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread John Scoles
Of you could give it a try on 64 bit power solaris it you want to tug all of your hair out. H.Merijn Brand wrote: On Fri, 27 Nov 2009 10:41:19 -0400, Ralph Doncaster wrote: On 11/27/09, H.Merijn Brand wrote: On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster wrote: While you're a

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
On Fri, 27 Nov 2009 10:41:19 -0400, Ralph Doncaster wrote: > On 11/27/09, H.Merijn Brand wrote: > > On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster > > wrote: > > While you're at it, I'd like to see some more changes: > > * make /usr/share/oracle not hardcoded but variable > > We're running

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread Ralph Doncaster
On 11/27/09, H.Merijn Brand wrote: > On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster > wrote: > While you're at it, I'd like to see some more changes: > * make /usr/share/oracle not hardcoded but variable We're running Oracle & perl on a few Unix boxes without a /usr/share/oracle, so it seems

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread H.Merijn Brand
On Fri, 27 Nov 2009 10:21:05 -0400, Ralph Doncaster wrote: > It seems I can't post attachments to the list, so here's the patch inline: Looks sane to me, but I'm not the DBD::Oracle maintainer :) While you're at it, I'd like to see some more changes: * make /usr/share/oracle not hardcoded but v

Re: DBD-Oracle-1.23 Makefile.PL patch

2009-11-27 Thread Ralph Doncaster
It seems I can't post attachments to the list, so here's the patch inline: --- ../DBD-Oracle-1.23-3oaWaD/Makefile.PL 2009-04-29 10:04:24.0 -0500 +++ Makefile.PL 2009-11-23 16:18:31.0 -0600 @@ -1055,14 +1055,19 @@ 'proc/lib/proc.mk', 'proc16/lib/proc16.mk',

Re: sql_type_cast small inconsistency and bugs

2009-11-27 Thread Martin Evans
Tim Bunce wrote: > On Thu, Nov 26, 2009 at 07:47:45PM +, Martin J. Evans wrote: >> Martin Evans wrote: >>> Tim, >>> >>> I'm not sure if you are bothered by this but there appears to be a small >>> inconsistency between SQL_INTEGER/SQL_NUMERIC and SQL_DOUBLE handling in >>> sql_type_cast: >>> >>

Re: sql_type_cast small inconsistency and bugs

2009-11-27 Thread Tim Bunce
On Thu, Nov 26, 2009 at 07:47:45PM +, Martin J. Evans wrote: > Martin Evans wrote: > > Tim, > > > > I'm not sure if you are bothered by this but there appears to be a small > > inconsistency between SQL_INTEGER/SQL_NUMERIC and SQL_DOUBLE handling in > > sql_type_cast: > > > > sql_type_cast("a