-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > how can I list the databases in a postgresish way? I know > about the '-l' switch of 'psql' but is there a DBI/SQL-query way? Yes, the DBI way is to use the "data_sources" function. Works just fine for Postgres: my @dbs = DBI->data_sources('Pg'); - -- Greg Sabino Mullane [EMAIL PROTECTED] PGP Key: 0x14964AC8 200411012240 -----BEGIN PGP SIGNATURE----- iD8DBQFBhwIHvJuQZxSWSsgRArd1AJ9hKXD+cSaM2L3RUXQdabuRofNFjwCfaHT0 +bRPuYhuED0mnlp1FRtvQQw= =tsqe -----END PGP SIGNATURE-----
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])