Re: [HACKERS] Explicit subtransactions for PL/Tcl

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [HACKERS] Explicit subtransactions for PL/Tcl
Дата
Msg-id CAFj8pRDh2bX4nDb+xzfULwq0086vs=1U0LRjGMEsgNmqNANyzQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Victor Wagner <vitus@wagner.pp.ru>)
Ответы Re: [HACKERS] Explicit subtransactions for PL/Tcl  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers


2017-03-10 20:31 GMT+01:00 Victor Wagner <vitus@wagner.pp.ru>:
On Thu, 9 Mar 2017 12:04:31 +0100
Pavel Stehule <pavel.stehule@gmail.com> wrote:


> > Now test demonstrate how errors uncaught on the Tcl level interact
> > with postgresql error system.
> >
>
> you can catch the exception outside and write own message

OK, here is patch with tests which don't depend on function OIDs

They ignore stack trace ($::errorinfo global variable) completely,
and analyze just error message.


all tests passed

I have not any other objections

I'll mark this patch as ready for commiter

Regards

Pavel
 

--
                                   Victor Wagner <vitus@wagner.pp.ru>

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

Предыдущее
От: Nikhil Sontakke
Дата:
Сообщение: Re: [HACKERS] Speedup twophase transactions
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] Re: proposal - psql: possibility to specify sort fordescribe commands, when size is printed