Tom Lane wrote:
Emmanuel Cecchet <m...@frogthinker.org> writes:
- speed with error logging best effort: no use of sub-transactions but errors that can safely be trapped with pg_try/catch (no index violation,

There aren't any.  You can *not* put a try/catch around arbitrary code
without a subtransaction.  Don't even think about it.
Well then why the tests provided with the patch are working?
I hear you when you say that it is not a generally applicable idea, but it seems that at least a couple of errors can be trapped with this mechanism.

Emmanuel

--
Emmanuel Cecchet
Aster Data Systems
Web: http://www.asterdata.com


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to