PostgreSQL service does not start on windows

https://commitfest.postgresql.org/action/patch_view?id=1288
http://archives.postgresql.org/message-id/4415.1385260745@sss.pgh.pa.us