pgsql: initdb needs pqsignal() even on Windows.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: initdb needs pqsignal() even on Windows.
Date: 2013-03-17 19:45:46
Message-ID: E1UHJWc-00067F-44@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-03-17 20:09:54 pgsql: Use pqsignal() in contrib programs rather than calling signal(2)
Previous Message Tom Lane 2013-03-17 18:18:37 pgsql: Fix inclusions in pgbench.c.