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

From Vince Vielhaber
Subject Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Date
Msg-id Pine.BSF.4.05.9912071335500.16469-100000@paprika.michvhf.com
Whole thread Raw
In response to Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, 7 Dec 1999, Tom Lane wrote:

> 
> > /* psql script */
> > create this
> > select that
> > \! psql -f 'second-script'
> > select more
> 
> > That satisfies the requirement of two separate sessions and a predefined
> > order.
> 
> I assume that the \! command won't continue until the subjob exits?
> If so, this doesn't give us any way to verify that query A will wait for
> query B to finish ... at least not without locking up the test...

\! psql -f 'second-script' &

will do it.  You may wanna redirect your output.

Vince.
-- 
==========================================================================
Vince Vielhaber -- KA8CSH   email: vev@michvhf.com   flame-mail: /dev/null # include <std/disclaimers.h>       Have you
seenhttp://www.pop4.net?       Online Campground Directory    http://www.camping-usa.com      Online Giftshop
Superstore   http://www.cloudninegifts.com
 
==========================================================================





pgsql-hackers by date:

Previous
From: Kyle Bateman
Date:
Subject: Re: [HACKERS] Raising funds for PostgreSQL
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)