|From:||Christian Ullrich <chris(at)chrullrich(dot)net>|
|Subject:||Re: PostgreSQL in Windows console and Ctrl-C|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
OK, here is the first draft against current master. It builds on Windows
with VS 2012 and on FreeBSD 10 with clang 3.3. I ran the regression
tests on Windows, they all pass.
The changed behavior is limited to Windows, where it now silently
ignores Ctrl-C and Ctrl-Break when started via pg_ctl start.
I don't think there is currently any support for switch-type long
options, so rather than invent my own, I squeezed the two lines I added
into postmaster.c where they fit best; unfortunately, the result is
quite ugly. I'll be happy to refine that if someone can give me a hint
on how to do it.
Patch attached, will add to CF soon.
|Next Message||Воронин Дмитрий||2014-04-20 18:02:25||New functions for sslinfo extension|
|Previous Message||Robert Haas||2014-04-20 14:48:02||Re: DISCARD ALL (Again)|