Re: postmaster.pid

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: postmaster.pid
Date: 2004-08-25 07:51:25
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7886@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

> -----Original Message-----
> From: Magnus Hagander [mailto:mha(at)sollentuna(dot)net]
> Sent: 24 August 2004 17:07
> To: Dave Page; Andrew Dunstan
> Cc: pgsql-hackers-win32(at)postgresql(dot)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.

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2004-08-25 07:54:43 Re: postmaster.pid
Previous Message Tim Penhey 2004-08-24 21:03:42 pg_dump and pg_restore in batch scripts