Thread: error in pg_ctl.c

error in pg_ctl.c

From
"Merlin Moncure"
Date:
Getting a win32 compiler error based on yesterday's update to pg_ctl.c.
It's a 1 liner (1081):
if (StartServiceCtrlDispatcher(st)) == 0)
to
if (StartServiceCtrlDispatcher(st) == 0)
or, as I prefer it :)
if (0 == StartServiceCtrlDispatcher(st))

Merlin


Re: error in pg_ctl.c

From
Tom Lane
Date:
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Getting a win32 compiler error based on yesterday's update to pg_ctl.c.
> It's a 1 liner (1081):
> if (StartServiceCtrlDispatcher(st)) == 0)
> to
> if (StartServiceCtrlDispatcher(st) == 0)

Ooops.  Patch applied.

            regards, tom lane