in reply to Re: PostgreSQL UPDATE
in thread PostgreSQL UPDATE

Your eval won't catch anything unless you set the RaiseError attribute on your database handle:
$dbh = DBI->connect($DSN,$user,$pw, { RaiseError => 1 }) || die "Cannot connect: $DBI::errstr\n" unless $dbh;
Otherwise, check the results of all of your $dbh calls for undef and do something with $DBI::errstr yourself.

Replies are listed 'Best First'.
Re: Re: Re: PostgreSQL UPDATE
by adamsj (Hermit) on Jul 18, 2001 at 23:38 UTC
    This is also where you can set AutoCommit, by the way.

    adamsj

    They laughed at Joan of Arc, but she went right ahead and built it. --Gracie Allen