Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)

From: Vince Vielhaber <vev(at)michvhf(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Jan Wieck <wieck(at)debis(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Date: 1999-12-07 18:37:50
Message-ID: Pine.BSF.4.05.9912071335500.16469-100000@paprika.michvhf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)michvhf(dot)com flame-mail: /dev/null
# include <std/disclaimers.h> Have you seen http://www.pop4.net?
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
==========================================================================

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 1999-12-07 18:40:49 Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Previous Message Kyle Bateman 1999-12-07 18:36:14 Re: [HACKERS] Raising funds for PostgreSQL