Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released. - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released.
Date
Msg-id 20130113155835.324980@gmx.com
Whole thread Raw
Responses Re: [Pgbuildfarm-members] Version 4.10 of buildfarm client released.
List pgsql-hackers
Andrew Dunstan wrote:

> Part of the trouble with detecting rogue postmasters it might have left 
> lying around is that various things like to decide what port to run on, 
> so it's not always easy for the buildfarm to know what it should be 
> looking for.

For Linux, perhaps some form of lsof with the +D option?  Maybe?:

lsof +D "$PGDATA" -Fp | grep -E '^p[0-9]{1,5}$' | cut -c1- | xargs kill -9

-Kevin



pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: erroneous restore into pg_catalog schema
Next
From: "Mark Hellegers"
Date:
Subject: Re: Porting to Haiku