Re: postmaster.pid

"Magnus Hagander" <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
> > 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.

Why would they link with libpgport if they use it for other purposes?
;-)

But sure, we don't really care if it's a postmaster. Then OpenProcess()
is probably the best way, yes.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.