Re: pgsql: Use signals for postmaster death on Linux.

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Thomas Munro <tmunro(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Use signals for postmaster death on Linux.
Date: 2018-08-01 22:41:34
Message-ID: CAEepm=1dEj7BQVa1hHRCWHDtz1i8=7jNpOHUPZCYxGTNjaCe=A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Thu, Aug 2, 2018 at 8:07 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thomas Munro <tmunro(at)postgresql(dot)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.

Thanks, will fix.

--
Thomas Munro
http://www.enterprisedb.com

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-08-01 23:43:20 pgsql: Fix run-time partition pruning for appends with multiple source
Previous Message Alvaro Herrera 2018-08-01 22:11:15 pgsql: Fix logical replication slot initialization