Re: ppport.h

2009-10-23 Thread Martin J. Evans
H.Merijn Brand wrote: > On Fri, 23 Oct 2009 20:10:29 +0100, "Martin J. Evans" > wrote: > >> I noticed DBI was upgraded in subversion to the latest ppport.h (in >> dbipport.h) and the recommendations that ppport.h has made. > > :) > >> dbipport.h seems to be ppport.h from Devel::PPPort. > > Cor

Re: ppport.h

2009-10-23 Thread H.Merijn Brand
On Fri, 23 Oct 2009 20:10:29 +0100, "Martin J. Evans" wrote: > I noticed DBI was upgraded in subversion to the latest ppport.h (in > dbipport.h) and the recommendations that ppport.h has made. :) > dbipport.h seems to be ppport.h from Devel::PPPort. Correct > The DBI::DBD docs say to copy dbi

ppport.h

2009-10-23 Thread Martin J. Evans
I noticed DBI was upgraded in subversion to the latest ppport.h (in dbipport.h) and the recommendations that ppport.h has made. dbipport.h seems to be ppport.h from Devel::PPPort. The DBI::DBD docs say to copy dbivport.h from the latest DBI distribution to your DBD distribution - which I have don

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

2009-10-23 Thread Martin Evans
Greg Sabino Mullane wrote: > >> With reference to the rt I created "Support binding of integers so they >> are returned as IVs" at http://rt.cpan.org/Public/Bug/Display.html?id=49818 > > If I'm understanding you correctly, this was recently 'fixed' in DBD::Pg, > to accomodate JSON::XS as well. Fo

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

2009-10-23 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 > With reference to the rt I created "Support binding of integers so they > are returned as IVs" at http://rt.cpan.org/Public/Bug/Display.html?id=49818 If I'm understanding you correctly, this was recently 'fixed' in DBD::Pg, to accomodate JSON

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

2009-10-23 Thread Martin Evans
Thanks for the reply John. John Scoles wrote: > Sounds like an easy patch to DBD::Oracle (off the top of my head) I am > not sure how it would fix into the DBI spec though. > > If I am reading the question right you want to be able to tell > DBI/DBD::Oracle that col X of a return is an int? Yes

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

2009-10-23 Thread John Scoles
Sounds like an easy patch to DBD::Oracle (off the top of my head) I am not sure how it would fix into the DBI spec though. If I am reading the question right you want to be able to tell DBI/DBD::Oracle that col X of a return is an int? something like $SQL='select my_id,my_name from my_table'