Re: Sketch of extending error handling for subtransactions in functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Sketch of extending error handling for subtransactions in functions
Дата
Msg-id 200407291644.16342.peter_e@gmx.net
обсуждение исходный текст
Ответ на Sketch of extending error handling for subtransactions in functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Sketch of extending error handling for subtransactions in functions
Список pgsql-hackers
Am Sonntag, 25. Juli 2004 01:48 schrieb Tom Lane:
> One issue is that it may break existing PLs that override Warn_restart,
> since the semantics of doing that will have changed a bit.  We can
> easily fix the PLs that are in our own CVS, but what are the
> implications for other PLs such as PL/R and PL/SH?  Joe, Peter, any
> comments?

PL/sh is OK, but both PL/Ruby and PL/Java play around with Warn_restart.  

> I am somewhat tempted to rename the setjmp variable Warn_restart to
> something else, so as to catch any code that is still expecting the
> old behavior (besides, it was never a very good name anyway).  On the
> other hand, there may be cases where a PL's code doesn't actually need
> to change, and if so a rename would just break it unnecessarily.  Any
> votes which way to jump?

Maybe the authors (in Cc) can comment what support they need.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: more signals (was: Function to kill backend)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Sketch of extending error handling for subtransactions in functions