Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.
Дата
Msg-id 20140124213656.GB2001840@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-bugs
On Fri, Jan 24, 2014 at 10:14:24AM -0500, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > Would you verify that the attached patch fixes your builds?
>
> The aspect of this patch that leaves ImmediateInterruptOK set over a
> much larger code range in PGSemaphoreLock --- and in particular doesn't
> bother to reset it before entering ereport() --- is a horrid idea.
> Keep in mind that setting ImmediateInterruptOK means you can lose control
> *anywhere*, and so have no ability to safely manipulate anything except
> local variables.

What's wrong with ereport(FATAL) under ImmediateInterruptOK?
ClientAuthentication() does it, and errfinish() clears the flag.

--
Noah Misch
EnterpriseDB                                 http://www.enterprisedb.com

Вложения

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: BUG #8956: fedora download does not contain pg_config
Следующее
От: ERR ORR
Дата:
Сообщение: Postgresql 9.3.2 Server crashes upon start