in reply to PostgreSQL UPDATE

I'd strongly suggest using RaiseError, since Error handling is so much easier that way. Plus, you're not making sure that $sth->execute actually worked or not

I have a feeling that if you set RaiseError, then you would start getting fatal errors... then you can debug

As a side note, I personally like to use AutoCommit => 0 as well, just so that I know exactly what I'm doing...

Replies are listed 'Best First'.
Re: Re: PostgreSQL UPDATE
by pmas (Hermit) on Jul 19, 2001 at 17:12 UTC
    I also like trace(2) function of DBI. It will show you what is going on with your SQL statements.

    pmas
    To make errors is human. But to make million errors per second, you need a computer.