On Wed, Feb 26, 2003 at 11:50:17AM -0800, Josh Berkus wrote:
> 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?
Isn't pg_connect part of a PHP package? In any case, I haven't used
pg_connect, so I won't comment...
Adi