pgsql: initdb needs pqsignal() even on Windows. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: initdb needs pqsignal() even on Windows.
Date
Msg-id E1UHJWc-00067F-44@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
initdb needs pqsignal() even on Windows.

I had thought we weren't using this version of pqsignal() at all on
Windows, but that's wrong --- initdb is using it (and coping with the
POSIX-ish semantics of bare signal() :-().  So allow the file to be
built in WIN32+FRONTEND case, and add it to the MSVC build logic.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e2a203a1903367135457f12e0032626f96ef04ca

Modified Files
--------------
src/include/port.h          |    3 ---
src/port/pqsignal.c         |   18 +++++++++---------
src/tools/msvc/Mkvcbuild.pm |    3 ++-
3 files changed, 11 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Re-include pqsignal() in libpq.
Next
From: Tom Lane
Date:
Subject: pgsql: Use pqsignal() in contrib programs rather than calling signal(2)