Quoting Bojan Smojver <[EMAIL PROTECTED]>:
Databases that don't support such functionality (e.g. PostgreSQL) would simply return APR_ENOTIMPL.
Actually, I take this bit back. We *always* reset trans->errnum, just like Nick said (even when there is no foo_clearerr()). And this to be able to execute "ROLLBACK TO SAVEPOINT suchandsuch" for a database like PGSQL, in order to actually fix the underlying database nastiness.
-- Bojan