]> 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:41:11 +0000 (10:41 -0500)
commit5a39c7395d2dcf44f62256ec05b66341149f222f
tree9403473c733e7ef2da278ac4f959ad065fedb50d
parentfe747b741d71a921c1a29f06902c73a263af7c65
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