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 at 3:55 PM, Greg Sabino Mullane <g...@turnstep.com>wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: RIPEMD160 > > > > No, it doesn't work even after connecting the db. > > > > DBI: 1.614 > > DBD::Pg: 2.17 > > Postgresql: 8.4.4 > > What error does it give? Are you sure that your environment parameters > are correct (e.g. DBI_DSN)? You might try specifying the information > directly: > > @data_sources = DBI->data_sources('Pg', 'port=5824;host=example.com'); > > - -- > Greg Sabino Mullane g...@turnstep.com > End Point Corporation http://www.endpoint.com/ > PGP Key: 0x14964AC8 201009210952 > http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 > -----BEGIN PGP SIGNATURE----- > > iEYEAREDAAYFAkyYuSUACgkQvJuQZxSWSshwiwCfXHB/NX4zSXrpXjH5wdMLePaD > crYAn3kZ+dk5GZ321rHgAjHk2lQz6b1f > =6KdV > -----END PGP SIGNATURE----- > > >