Avoid defining SIGTTIN/SIGTTOU on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Nov 2018 21:31:07 +0000 (16:31 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 17 Nov 2018 21:31:16 +0000 (16:31 -0500)
commit37afc079abe1986b4af94aa8ec28cefd663aaae6
treec9105585dcb7cf52a12eb1ebb3555819ad4ccf0c
parent125f551c8be101ec36ec5fed5befc8fbf7370e0a
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
src/backend/postmaster/postmaster.c
src/include/port/win32_port.h