pgsql: Avoid defining SIGTTIN/SIGTTOU on Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Avoid defining SIGTTIN/SIGTTOU on Windows.
Date: 2018-11-17 21:31:34
Message-ID: E1gO8Bi-00076V-1V@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid defining SIGTTIN/SIGTTOU on Windows.

Setting them to SIG_IGN seems unlikely to have any beneficial effect
on that platform, and given the signal numbering collision with SIGABRT,
it could easily have bad effects.

Given the lack of field complaints that can be traced to this, I don't
presently feel a need to back-patch.

Discussion: https://postgr.es/m/5627.1542477392@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/37afc079abe1986b4af94aa8ec28cefd663aaae6

Modified Files
--------------
src/backend/postmaster/postmaster.c | 4 ++++
src/include/port/win32_port.h | 2 --
2 files changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2018-11-17 23:07:54 pgsql: Add valgrind suppressions for wcsrtombs optimizations
Previous Message Andres Freund 2018-11-17 19:43:58 pgsql: Fix some spurious new compiler warnings in MSVC.