Re: Multiple drivers ?

2002-10-01 Thread Tim Bunce
Stack trace - from the core file. Not a DBI trace log. Tim. On Mon, Sep 30, 2002 at 03:21:53PM +1200, Glen Eustace wrote: Tim, Is there any thing I can provide that may help resolve this issue. Now that I don't get perl dieing, would the DBI trace help ? On Thu, 2002-09-26 at 10:11, Glen

Re: Multiple drivers ?

2002-10-01 Thread Tim Bunce
On Mon, Sep 30, 2002 at 03:21:53PM +1200, Glen Eustace wrote: Tim, Is there any thing I can provide that may help resolve this issue. Now that I don't get perl dieing, would the DBI trace help ? Uh, wasn't paying attention. Sorry. Yes. trace(9), just to me, not the list. Can't promise to

Re: Multiple drivers ?

2002-09-30 Thread Tim Bunce
Stack trace. Tim. On Mon, Sep 30, 2002 at 03:21:53PM +1200, Glen Eustace wrote: Tim, Is there any thing I can provide that may help resolve this issue. Now that I don't get perl dieing, would the DBI trace help ? On Thu, 2002-09-26 at 10:11, Glen Eustace wrote: Spoke too soon :-(

Re: Multiple drivers ?

2002-09-30 Thread Glen Eustace
The connects apparently succeed, but when I try to use the 2nd connection, the first is used. NB: the table, 'site' only exists in the second database. DBD::Pg is using the Ingres database --- use DBI; $oDBase1 = DBI-connect(

Re: Multiple drivers ?

2002-09-29 Thread Glen Eustace
Tim, Is there any thing I can provide that may help resolve this issue. Now that I don't get perl dieing, would the DBI trace help ? On Thu, 2002-09-26 at 10:11, Glen Eustace wrote: Spoke too soon :-( With Perl5.8.0 instead of 5.6.0, I am no longer getting a SEGV, but things are still

Re: Multiple drivers ?

2002-09-25 Thread Tim Bunce
On Wed, Sep 25, 2002 at 01:22:47PM +1200, Glen Eustace wrote: After spending half the morning stuffing around trying to compile a version of perl with debugging included, I decided to simply give 5.8.0 a try. It works fine. We have had problems with 5.6.0 and various 64 bit weirdness

Re: Multiple drivers ?

2002-09-25 Thread Glen Eustace
Spoke too soon :-( With Perl5.8.0 instead of 5.6.0, I am no longer getting a SEGV, but things are still broken. The connects apparently succeed, but when I try to use the 2nd connection, the first is used. NB: the table, 'site' only exists in the second database. DBD::Pg is using the Ingres

Re: Multiple drivers ?

2002-09-24 Thread Tkil
Glen == Glen Eustace [EMAIL PROTECTED] writes: Glen I am not having much success at getting a Stack Trace. It's not quite as useful, but you might also try using 'strace' or 'truss' or its equivalent on your system -- if nothing else, it should tell you what your program tried to do right

Re: Multiple drivers ?

2002-09-24 Thread James D. White
Glen, Look at the first DBI-connect line. Does it work without the third line which connects to Postgress? How can you tell? You did not check the return value from DBI-connect. The trace seems to show an attempt to make a connection to Postgress, but nothing to Ingres. I don't know about

Re: Multiple drivers ?

2002-09-24 Thread Tim Bunce
On Tue, Sep 24, 2002 at 11:47:12AM +1200, Glen Eustace wrote: On Tue, 2002-09-24 at 09:32, Tim Bunce wrote: Does it make a difference if you swap the order of connects? I probably can't help more without a stack trace. I am not having much success at getting a Stack Trace. perl

Re: Multiple drivers ?

2002-09-23 Thread Tim Bunce
On Mon, Sep 23, 2002 at 03:24:36PM +1200, Glen Eustace wrote: Is it supposed to be possible to use multiple different DBDs in the same perl programme. I had assummed it was and have tried to use both DBD::Pg and DBD::Ingres in the same programme. I have downlaoaded the latest of each and

Re: Multiple drivers ?

2002-09-23 Thread Glen Eustace
On Mon, 2002-09-23 at 21:24, Tim Bunce wrote: It should work fine - especially if using dynamic loading. Please create a small test program (three lines: 'use DBI;' and the two connects) then run it with the DBI_TRACE env var set to 9. See the DBI README file about how to get s stack trace

Re: Multiple drivers ?

2002-09-23 Thread Tim Bunce
Does it make a difference if you swap the order of connects? I probably can't help more without a stack trace. Tim. On Tue, Sep 24, 2002 at 08:18:49AM +1200, Glen Eustace wrote: On Mon, 2002-09-23 at 21:24, Tim Bunce wrote: It should work fine - especially if using dynamic loading.

Re: Multiple drivers ?

2002-09-23 Thread Glen Eustace
On Tue, 2002-09-24 at 09:32, Tim Bunce wrote: Does it make a difference if you swap the order of connects? I probably can't help more without a stack trace. I am not having much success at getting a Stack Trace. perl -MDevel::CoreStack -e stack Executing /usr/ucb/dbx /usr/local/bin/perl

Multiple drivers ?

2002-09-22 Thread Glen Eustace
Is it supposed to be possible to use multiple different DBDs in the same perl programme. I had assummed it was and have tried to use both DBD::Pg and DBD::Ingres in the same programme. I have downlaoaded the latest of each and DBI from CPAN and installed and I get a SEGV on Tru64 4.0d Either