Re: max_wal_senders must die - Mailing list pgsql-hackers

From Tom Lane
Subject Re: max_wal_senders must die
Date
Msg-id 17626.1288281327@sss.pgh.pa.us
Whole thread Raw
In response to Re: max_wal_senders must die  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> BTW I note that there are no elog(ERROR) calls in that code path at all,
> because syscall errors are ignored, so PANIC is not a concern (as the
> code stands currently, at least).  ISTM it would be good to have a
> comment on SetLatch stating that it's used inside critical sections,
> though.

Yeah, I was thinking the same while reading the code yesterday.  It
already notes that it's used in interrupt handlers, but the critical
section angle is an additional reason not to elog(ERROR).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: plperl arginfo
Next
From: Andrew Dunstan
Date:
Subject: Re: plperl arginfo