Aditya,
> my($dbh) = DBI->connect($data_source, $user, $dbpassword,
> {RaiseError => 0} #depends on whether you check errstr
> ) || die "couldn't call $data_source: $DBI::errstr\n";
> $dbh->{ChopBlanks} = 1;
> $dbh->{AutoCommit} = 1;
> $dbh->{RaiseError} = 0;
> $dbh->{PrintError} = 0;
etc.
Thanks! Does this work with pg_connect as well?
--
Josh Berkus
josh(at)agliodbs(dot)com
Aglio Database Solutions
San Francisco