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
==========================================================================