pgsql: initdb needs pqsignal() even on Windows.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: initdb needs pqsignal() even on Windows.
Дата
Msg-id E1UHJWc-00067F-44@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Re-include pqsignal() in libpq.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use pqsignal() in contrib programs rather than calling signal(2)