> From: Wilson, Doug [mailto:[EMAIL PROTECTED]] > > It looks like Postgres has a bug with regard to placeholders ^^^^^^^ (I mean DBD::Pg) > in the execute subroutine. it only checks for matching numbers > of placeholders & arguments supplied IF you supply arguments > to execute() > (which is in the XS code).
Actually, it looks like the same thing exists in DBD::Oracle, but you end up with an Oracle error (ORA-01008) instead of just a DBD::Oracle error (when, e.g. you have too many arguments). Problem is, Postgres doesn't natively have placeholders, so it ought to do all the checking in the DBD code. Cheers, Douglas Wilson