Thread: pg_ctl error msg on Windows 2000

pg_ctl error msg on Windows 2000

From
"Magnus Hagander"
Date:
On version of Windows prior to XP, pg_ctl will *always* log a warning
about not finding Job API functions. This is probably unnecessary, since
they are never present there. The check was originally intended to give
a warning if something was wrong on a system where it was *expected*.

Attached patch checks the OS version before emitting the error message.

//Mag <<pg_ctl.diff>> nus


Attachment

Re: pg_ctl error msg on Windows 2000

From
Tom Lane
Date:
"Magnus Hagander" <mha@sollentuna.net> writes:
> On version of Windows prior to XP, pg_ctl will *always* log a warning
> about not finding Job API functions. This is probably unnecessary, since
> they are never present there. The check was originally intended to give
> a warning if something was wrong on a system where it was *expected*.

> Attached patch checks the OS version before emitting the error message.

Applied.

            regards, tom lane