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

[email protected] ("Greg Sabino Mullane")
Newsgroups perl.dbi.users
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> However, this piece of code gives nothing:
> my @dbs=DBI->data_sources("Pg)";

Works fine for me (once the quoting problem is fixed). What 
version of DBI and DBD::Pg do you have?

Does it work if you connect to a Postgres database first, 
and then issue:

my @dbs = $dbh->data_sources();

- -- 
Greg Sabino Mullane [email protected]
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201009201214
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkyXiHEACgkQvJuQZxSWSsjliQCgtp/aD3+CnF337rkMhoVvTQzy
6rIAn2OMLDQCYvUPcdX/mw7VDDjKNJwo
=UK+k
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.