error() only prints out the SQL statement. If the
statement uses placeholders we don't get the full
details of what was being executed. If we upgrade to a
recent DBD::Pg $sth->{ParamValues} will give us the
info we need to print a better error string.