]> 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:44 +0000 (10:40 -0500)
commitb642e50aea1b966f3b78c49e806b4a2c5497a861
tree30f8f19ff733244dbf21b3cd7f680d5b2ade5371
parent94f1adccd36df3ad75d2c257c9ae1ca448f3e4ac
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