Re: Apache::DBI / connect_on_init not setting dbi_connect_method but later connect() calls do

2009-01-02 Thread Philip M. Gollucci
Apache::DBI->connect_on_init( 'dbi:Pg:dbname=mydb;host=myhost;port=5432', 'nobody',''); Can this be avoided somehow so that only 1 connection is initiated and reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to set dbi_connect_method explicitly in startup.p

Re: Apache::DBI / connect_on_init not setting dbi_connect_method but later connect() calls do

2009-01-02 Thread Philip M. Gollucci
Apache::DBI->connect_on_init( 'dbi:Pg:dbname=mydb;host=myhost;port=5432', 'nobody',''); Can this be avoided somehow so that only 1 connection is initiated and reused? Is my DBI(1.53) or Apache::DBI(1.04) too old? Is it a bad idea to set dbi_connect_method explicitly in startup.p

Apache::DBI / connect_on_init not setting dbi_connect_method but later connect() calls do

2009-01-02 Thread Marinos Yannikos
Hi, I'm trying to initiate connections in startup.pl for later use (mod_perl 1.xx): (startup.pl): use Apache::DBI; ... Apache::DBI->connect_on_init( 'dbi:Pg:dbname=mydb;host=myhost;port=5432', 'nobody',''); Later, I am attempting to reuse these connections in an Apache::Registry