Re: pgsql: Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_re

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_re
Date: 2016-06-03 02:56:27
Message-ID: 025c409f-f70f-9a3c-c4e2-4d606378326c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On 6/2/16 1:28 PM, Tom Lane wrote:
> Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_restore.

These changes introduced several new compiler warnings under fortify rules:

parallel.c: In function ‘sigTermHandler’:
parallel.c:556:9: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
parallel.c:557:9: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]
parallel.c:559:8: warning: ignoring return value of ‘write’, declared
with attribute warn_unused_result [-Wunused-result]

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-06-03 03:04:21 Re: pgsql: Redesign handling of SIGTERM/control-C in parallel pg_dump/pg_re
Previous Message Greg Stark 2016-06-02 18:42:24 pgsql: Be conservative about alignment requirements of struct epoll_eve