Re: postmaster.pid - Mailing list pgsql-hackers-win32

From Dave Page
Subject Re: postmaster.pid
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7886@ratbert.vale-housing.co.uk
Whole thread Raw
List pgsql-hackers-win32

> -----Original Message-----
> From: Magnus Hagander [mailto:mha@sollentuna.net]
> Sent: 24 August 2004 17:07
> To: Dave Page; Andrew Dunstan
> Cc: pgsql-hackers-win32@postgresql.org
> Subject: RE: [pgsql-hackers-win32] postmaster.pid
>
>
> I think it's better to call uor named pipe. That way we'll
> find out if it's actually a postmaster of ours or a different
> process alltogether there.

I'm not sure that's a good idea. The function is there to emulate the
unix kill() which doesn't care what the process is. Changing the code as
you suggest could cause confusionon Windows if someone uses kill() for
other purposes.

Regards, Dave.

pgsql-hackers-win32 by date:

Previous
From: Tim Penhey
Date:
Subject: pg_dump and pg_restore in batch scripts
Next
From: "Magnus Hagander"
Date:
Subject: Re: postmaster.pid