From: | Emmanuel Cecchet <manu(at)asterdata(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Dimitri Fontaine <dfontaine(at)hi-media(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: COPY enhancements |
Date: | 2009-10-13 16:34:31 |
Message-ID: | 4AD4AC17.9010606@asterdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Emmanuel Cecchet <manu(at)frogthinker(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Abhijit Menon-Sen | 2009-10-13 16:41:46 | Re: Wire protocol docs |
Previous Message | Massa, Harald Armin | 2009-10-13 16:30:54 | Re: Client application name |