Re: [Patch] Minor Patch for DBD::ExampleP

2003-09-11 Thread Tim Bunce
Thanks. But when/why is $sth-{NAME_lc} undefined? I suspect the right fix is to change $sth-{NAME_lc} to $sth-FETCH('NAME_lc') to trigger the magic that handled the _lc suffix. Could you try that for me? Tim. On Thu, Sep 11, 2003 at 08:15:28AM -0400, Thomas A. Lowery wrote: Tim, Here's a minor

Re: [Patch] Minor Patch for DBD::ExampleP

2003-09-11 Thread Thomas A. Lowery
Yep it worked. Here's a new patch: --- ExampleP.pm.orig2003-09-11 07:41:25.0 -0400 +++ ExampleP.pm 2003-09-11 22:28:13.0 -0400 @@ -358,10 +358,10 @@ # either return dynamic values that cannot be precomputed # or fetch and cache attribute values too expensive

Re: Problem connecting to non-default db

2003-09-11 Thread bilal . sheikh
Hi, Thanks, use dbA works. It doesn't work as part of a do statement (i.e. $dbh- do(use dbA)), but it looks like it's working when I prep and execute use dbA using a statement handle. I'm using DBD::Sybase v1.01, so I guess there's still an issue with DBI only connecting to the default db.

DBD::Pg Release Candidate 1.31_5

2003-09-11 Thread Rudy Lippan
Good day, DBD::Pg 1.31_5 is now on CPAN. The last(?) blocker was fixed by Jeremy Yoder, and Mark Stosberg was kind enough to bundle up this version. http://search.cpan.org/CPAN/authors/id/R/RU/RUDY/DBD-Pg-1.31_5.tar.gz Please try this version and report back to the list if you have any

Re: What to do with UTF-8 data?

2003-09-11 Thread Tim Bunce
On Thu, Sep 11, 2003 at 08:29:50AM +0200, Jochen Wiedmann wrote: Hi, Steve, The problem is: How do I trap all input/output to/from DBI to do these conversions? I've asked about this on the dbi-users mailing list, and the answer (from Tim Bunce, no less) was that it is really the

Re: What to do with UTF-8 data?

2003-09-11 Thread Steve Hay
Tim Bunce wrote: On Thu, Sep 11, 2003 at 08:29:50AM +0200, Jochen Wiedmann wrote: Hi, Steve, The problem is: How do I trap all input/output to/from DBI to do these conversions? I've asked about this on the dbi-users mailing list, and the answer (from Tim Bunce, no less) was that

Re: What to do with UTF-8 data?

2003-09-11 Thread Bart Lateur
On Thu, 11 Sep 2003 12:31:52 +0100, Steve Hay wrote: It would be cool if something akin to binmode STDOUT, ':utf8'; could be applied when sending data to the driver -- i.e. my data is in Perl's internal format, whether that be Latin-1 or UTF-8 in the case of the string at hand, and it all gets