]> granicus.if.org Git - postgresql/commit
Fix backwards test for Windows service-ness in pg_ctl.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Mar 2016 15:40:44 +0000 (10:40 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Mar 2016 15:40:53 +0000 (10:40 -0500)
commit45b87cc57fe02f571de33ce20b4d7bec881a785a
treef35d3f84dc184c90f89728a35002a7bdd5f6f26e
parent5d1826fe76e9c82ec938edf054c2e3de52f5285c
Fix backwards test for Windows service-ness in pg_ctl.

A thinko in a96761391 caused pg_ctl to get it exactly backwards when
deciding whether to report problems to the Windows eventlog or to stderr.
Per bug #14001 from Manuel Mathar, who also identified the fix.
Like the previous patch, back-patch to all supported branches.
src/bin/pg_ctl/pg_ctl.c