From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: PostmasterContext survives into parallel workers!?
Date: Mon, 01 Aug 2016 19:21:23 -0400
Message-ID: <21256.1470093683@sss.pgh.pa.us> (raw)
In-Reply-To: <20160801225435.jgltryqui3cca2xh@alap3.anarazel.de>
References: <14111.1470082717@sss.pgh.pa.us>
<CA+TgmoYZ7LB5erAQ7AbigruWhcHoqxhvfYOF1mVxU-XT7rs+FA@mail.gmail.com>
<20160801221829.kfa7hzqlzt47mwsb@alap3.anarazel.de>
<19232.1470090524@sss.pgh.pa.us>
<20160801225435.jgltryqui3cca2xh@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andres Freund <andres@anarazel.de> writes:
> Personally I think the whole logic should be reworked so we do most of
> that that only from one place.
Alvaro already mentioned a couple of reasons why that might not be so
easy.
> Especially the signal handler stuff
> should imo just be replaced by setting latch, which then does the work
> inside the normal main loop.
Of course, then we're utterly dependent on the latch logic to be
zero-failure, as any bug in it takes out the postmaster. That idea
would've been rejected out of hand earlier in the development of
the latch code. Maybe it's safe enough today, but I still wonder what
it is that we're buying after we do such a massive rewrite of the
postmaster.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, robertmhaas@gmail.com
Subject: Re: PostmasterContext survives into parallel workers!?
In-Reply-To: <21256.1470093683@sss.pgh.pa.us>
References: <14111.1470082717@sss.pgh.pa.us> <CA+TgmoYZ7LB5erAQ7AbigruWhcHoqxhvfYOF1mVxU-XT7rs+FA@mail.gmail.com> <20160801221829.kfa7hzqlzt47mwsb@alap3.anarazel.de> <19232.1470090524@sss.pgh.pa.us> <20160801225435.jgltryqui3cca2xh@alap3.anarazel.de> <21256.1470093683@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox