Re: DBI->data_sources("Pg") problem

2010-09-21 Thread Laslo Forro
Thanx for you concern, the problem was with my installation. I have reinstalled everything system-wide perl-related, made the symlinks check, and reinstalled DBI and DBD::Pg, now all is fine. Thank you again! Yours Laslo On Tue, Sep 21, 2010 at 6:59 PM, Laslo Forro wrote: > I do not h

Re: DBI->data_sources("Pg") problem

2010-09-21 Thread Laslo Forro
I do not have DBI_DSN set but I use "dbi:Pg:database=whatever". I receive no error message, simply nothing. I am digging deeper for DBI or Pg - do not know yet - drops a segfault in a tested piece of code, so perhaps the problem is somewhere in the dark corners of the Earth. On Tue, Sep 21, 2010

Re: DBI->data_sources("Pg") problem

2010-09-21 Thread Laslo Forro
No, it doesn't work even after connecting the db. DBI: 1.614 DBD::Pg: 2.17 installed locally in user's path via CPANP. Postgresql: 8.4.4 On Mon, Sep 20, 2010 at 6:15 PM, Greg Sabino Mullane wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: RIPEMD160 > > > > However, this piece of code give

DBI->data_sources("Pg") problem

2010-09-20 Thread Laslo Forro
Hi there, I am trying to get the databases from a running PostgreSQL database. However, this piece of code gives nothing: my @dbs=DBI->data_sources("Pg)"; I tried to trace the situation and ended up here in DBI module: DBD::Pg::dr::data_sources(/home/salmonix/perl5/lib/perl5/x86_64-linux-thread-mu