Re: $sel->CursorName does not exist

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 04:04 PM, Tim Bunce wrote: Perl 5.8.0 is (quite reasonably) clearing refs in lexical variables in a more timely manner when the sub exists. The failing test in 07kids.t isn't testing anything significant so I've just replaced it with a comment: # Testing $d

Re: $sel->CursorName does not exist

2002-11-25 Thread Tim Bunce
On Mon, Nov 25, 2002 at 03:56:50PM -0800, David Wheeler wrote: > On Monday, November 25, 2002, at 03:20 PM, Tim Bunce wrote: > > >I'll look into this. > > I'm pretty sure that it's a difference between 5.6.x and 5.8.x. The > Exception::Class::DBI tests have always succeeded since I added a tes

Re: Escaping Binary Data in DBD::Pg

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 03:29 PM, Tim Bunce wrote: Use of the "bind_param($num, $val, SQL_BINARY)" syntax still works, however, and doesn't throw a warning. Should it? If it doesn't work then yes (if $h->{Warn} is set, see Driver.xst for examples). Okay, I'll try to work up that pat

Re: $sel->CursorName does not exist

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 03:20 PM, Tim Bunce wrote: I'll look into this. I'm pretty sure that it's a difference between 5.6.x and 5.8.x. The Exception::Class::DBI tests have always succeeded since I added a test for the different versions of Perl. Still very strange, though. No. A

Re: Escaping Binary Data in DBD::Pg

2002-11-25 Thread Tim Bunce
On Mon, Nov 25, 2002 at 02:58:41PM -0800, David Wheeler wrote: > On Sunday, November 24, 2002, at 05:30 PM, Bruce Momjian wrote: > > >I think he is saying mention is as depricated in the current driver, > >and > >remove it when you release your major revision of the driver. > > Okay, I've made

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 03:34 PM, Tim Bunce wrote: And to load the File::Spec module you've supplied you'll need a "use lib ...". :-) Heh, good point. I'd just hack in the very few alternatives you need ("/" + Max + VMS, you can ignore windows as "/" works fine) in a BEGIN block.

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread Tim Bunce
On Mon, Nov 25, 2002 at 03:09:40PM -0800, David Wheeler wrote: > On Monday, November 25, 2002, at 01:49 AM, Graham Barr wrote: > > >>>Is t/ the only directory? It would be nice to leave t/ for tests. > >>> > >>>Is the indexer documented someplace? I was having trouble with it > >>>parsing the ver

Re: Anybody using $h->event(...) and DBIh_EVENT*() ?

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 03:26 PM, Tim Bunce wrote: They're about to be deprecated/changed/removed or something as part of moving towards a $h->{HandleEvent} = sub { ... } interface. So far I've just gutted the DBIh_EVENT*() macros so they do nothing (old drivers may use them at the poi

Anybody using $h->event(...) and DBIh_EVENT*() ?

2002-11-25 Thread Tim Bunce
They're about to be deprecated/changed/removed or something as part of moving towards a $h->{HandleEvent} = sub { ... } interface. So far I've just gutted the DBIh_EVENT*() macros so they do nothing (old drivers may use them at the point they set err & errstr but the DBI never did much with them).

Re: $sel->CursorName does not exist

2002-11-25 Thread Tim Bunce
Long long ago, on Sun, Sep 15, 2002 at 12:41:18PM -0700, David Wheeler wrote: > > > * Line 32, I've added the comment "# Broken? Changed?". This is because > the behavior of the Kids attribute is somewhat unpredictable. I've > written a separate test for this issue (attached as 07kids.t). When I

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 03:13 PM, Graham Barr wrote: If the inclusion of modules in distributions is common and t/ is not acceptable then a common place should be agreeded. I almost suggested this recently with the release of CPAN::MakeMaker which depends on . being in @INC. But it has

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread Graham Barr
On Mon, Nov 25, 2002 at 03:09:40PM -0800, David Wheeler wrote: > On Monday, November 25, 2002, at 01:49 AM, Graham Barr wrote: > > >>> Is t/ the only directory? It would be nice to leave t/ for tests. > >>> > >>> Is the indexer documented someplace? I was having trouble with it > >>> parsing the

RE: DBD::Pg - a strong request

2002-11-25 Thread Jeff Urlwin
> Other DBD::* modules require DBI_DSN, DBI_USER, DBI_PASS to run the > tests. Without the correct setup installing from CPAN will fail. The most recent versions of DBD::ODBC's tests, however, gracefully handle DBI_DSN being undefined for just this purpose (and ActiveState's repository builds, t

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 01:49 AM, Graham Barr wrote: Is t/ the only directory? It would be nice to leave t/ for tests. Is the indexer documented someplace? I was having trouble with it parsing the version number of one of my modules. I don't know about the indexer on PAUSE, but searc

Re: Escaping Binary Data in DBD::Pg

2002-11-25 Thread David Wheeler
On Sunday, November 24, 2002, at 05:30 PM, Bruce Momjian wrote: I think he is saying mention is as depricated in the current driver, and remove it when you release your major revision of the driver. Okay, I've made this change. Here's my commit message: date: 200

Re: DBD::Pg - a strong request

2002-11-25 Thread Rudy Lippan
> However, on that note, just "installing the darn module" may not be possible > without skipping the tests. > > There are additional pieces of information needed: > $ENV{DBDPG_TEST_DB} > $ENV{DBDPG_TEST_HOST} > $ENV{DBDPG_TEST_USER} > $ENV{DBDPG_TEST_PASS} > (prevents muc

Re: DBD::Pg - a strong request

2002-11-25 Thread Jason E. Stewart
"Thomas A. Lowery" <[EMAIL PROTECTED]> writes: > There are additional pieces of information needed: > $ENV{DBDPG_TEST_DB} > $ENV{DBDPG_TEST_HOST} > $ENV{DBDPG_TEST_USER} > $ENV{DBDPG_TEST_PASS} > (prevents mucking up a real database) > > Other DBD::* modules require DBI_DS

Re: DBD::Pg - a strong request

2002-11-25 Thread David Wheeler
On Monday, November 25, 2002, at 08:46 AM, Thomas A. Lowery wrote: I've found pg_config the best solution to determine where things are installed. pg_config is exactly what App::Info::RDBM::PostgreSQL uses to set up the library paths. However, on that note, just "installing the darn module"

Sourceforge for DBD driver

2002-11-25 Thread Honza Pazdziora
On Thu, Nov 21, 2002 at 10:47:03AM -0700, Jason E. Stewart wrote: > > Given the ability to get free time/space on servers like sourceforge > or even perl.org, why is this still the case? I'm really happy that I've already registered dbd-xbase on sourceforge for DBD::XBase but I really didn't find

Re: DBD::Pg - a strong request

2002-11-25 Thread Thomas A. Lowery
I've found pg_config the best solution to determine where things are installed. "pg_config provides information about the installed version of PostgreSQL. Usage: pg_config --bindir | --includedir | --includedir-server | --libdir | --pkglibdir | --configure | --version Operation modes: --bindi

Re: CPAN indexer (was Re: DBD::Pg CVS version.)

2002-11-25 Thread Graham Barr
On Sun, Nov 24, 2002 at 08:30:43PM +, Tim Bunce wrote: > On Sat, Nov 23, 2002 at 03:39:48PM -0700, Jason E. Stewart wrote: > > Hey Tim, > > > > "Tim Bunce" <[EMAIL PROTECTED]> writes: > > > > > On Sat, Nov 23, 2002 at 12:53:39AM -0700, Jason E. Stewart wrote: > > > > "Thomas A. Lowery" <[EMAI