Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce) - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce)
Date
Msg-id 384E8062.22F8889C@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Responses Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce)
List pgsql-hackers
> I guess you could also do some simple synchronization things, like have
> the second psql wait on a file to spring into existence:
> /* second-script */
> \! while [ ! -f /tmp/lock.file ]; do ;; done
> \! rm /tmp/lock.file
> Kind of like a simple semaphore. Isn't that what you are getting at?

LISTEN/NOTIFY might be useful for this...
                 - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce)