Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests. - Mailing list pgsql-bugs

From Noah Misch
Subject Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.
Date
Msg-id 20140124213656.GB2001840@tornado.leadboat.com
Whole thread Raw
In response to Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: PostgreSQL 6.2.5 Visual Studio Build does not pass the regression tests.
List 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

Attachment

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: BUG #8956: fedora download does not contain pg_config
Next
From: ERR ORR
Date:
Subject: Postgresql 9.3.2 Server crashes upon start