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

Поиск
Список
Период
Сортировка
От Vince Vielhaber
Тема Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Дата
Msg-id Pine.BSF.4.05.9912071335500.16469-100000@paprika.michvhf.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Kyle Bateman
Дата:
Сообщение: Re: [HACKERS] Raising funds for PostgreSQL
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)