I have been wondering the same thing..
Thanks
Kris
Ben Siders wrote:
Is there a query that will return all the databases available, similar
to what psql -l does?
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://a
unsubscribe
---(end of broadcast)---
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
PERL SNIPPET:
# build arrays from file (OMITTED)
use Pg;
$dbhost='127.0.0.1';
$dbname='mpact';
#$connstr="dbname=$dbname";
$connstr="host=$dbhost dbname=$dbname";
$conn = Pg::connectdb($connstr);
#more code related to date omitted
$result=$conn->exec($sql);
(PGRES_COMMAND_OK eq $result