pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <tmunro@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use signals for postmaster death on Linux.
Date: Wed, 01 Aug 2018 16:07:54 -0400
Message-ID: <4166.1533154074@sss.pgh.pa.us> (raw)
In-Reply-To: <E1fd3iW-0002W6-22@gemulon.postgresql.org>
References: <E1fd3iW-0002W6-22@gemulon.postgresql.org>

Thomas Munro <tmunro@postgresql.org> writes:
> Use signals for postmaster death on Linux.

One or the other of these patches seems to have caused pmsignal.h
to fail to compile standalone:

./src/include/storage/pmsignal.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'postmaster_possibly_dead'
./src/include/storage/pmsignal.h: In function 'PostmasterIsAlive':
./src/include/storage/pmsignal.h:84: error: 'postmaster_possibly_dead' undeclared (first use in this function)
./src/include/storage/pmsignal.h:84: error: (Each undeclared identifier is reported only once
./src/include/storage/pmsignal.h:84: error: for each function it appears in.)

Apparently, this header needs a reference to wherever sig_atomic_t
is declared.

			regards, tom lane




view thread (4+ messages)  latest in thread

Message-ID: <4166.1533154074@sss.pgh.pa.us>
Permalink:  ../4166.1533154074@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4166.1533154074@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use signals for postmaster death on Linux.
  In-Reply-To: <4166.1533154074@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