Re: COPY enhancements

Поиск
Список
Период
Сортировка
От Emmanuel Cecchet
Тема Re: COPY enhancements
Дата
Msg-id 4AD4AC17.9010606@asterdata.com
обсуждение исходный текст
Ответ на Re: COPY enhancements  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: COPY enhancements  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Emmanuel Cecchet <manu@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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Massa, Harald Armin"
Дата:
Сообщение: Re: Client application name
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: COPY enhancements