]> git.ipfire.org Git - thirdparty/postgresql.git/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:07 +0000 (10:41 -0500)
commit15d43196cde78fb46e989bbd6bb8d294fcf2f492
tree4c2f516bf087e0cba2c655618f998234edc6b9dc
parent8894c9f791c11e37d040634193caf3667f533111
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