Re: PL/TCL Patch to prevent postgres from becoming multithreaded

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/TCL Patch to prevent postgres from becoming multithreaded
Дата
Msg-id 17334.1190334777@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/TCL Patch to prevent postgres from becoming multithreaded  ("Marshall, Steve" <smarshall@wsi.com>)
Ответы Re: PL/TCL Patch to prevent postgres from becoming multithreaded  ("Marshall, Steve" <smarshall@wsi.com>)
Список pgsql-patches
"Marshall, Steve" <smarshall@wsi.com> writes:
> There is a problem in PL/TCL that can cause the postgres backend to
> become multithreaded.   Postgres is not designed to be multithreaded, so
> this causes downstream errors in signal handling.  We have seen this
> cause a number of "unexpected state" errors associated with notification
> handling; however, unpredictable signal handling would be likely to
> cause other errors as well.

I've applied this patch to CVS HEAD (8.3-to-be).  I'm a bit hesitant
to back-patch it however, at least not till it gets through some beta
testing.

Thanks for the detailed explanation, test case, and patch!

            regards, tom lane

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Various fixes for syslogger
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Patch to update log levels