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

From Peter Eisentraut
Subject Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Date
Msg-id Pine.GSO.4.02A.9912071904440.3057-100000@Panter.DoCS.UU.SE
Whole thread Raw
In response to Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
List pgsql-hackers
On Tue, 7 Dec 1999, Tom Lane wrote:

> wieck@debis.com (Jan Wieck) writes:
> >     I'm thinking about another enhancement to the regression test
> >     now.  Something where at least two sessions can  run  queries
> >     in  a  predefined  order. Otherwise, something like the above
> >     cannot be checked during regression.

> Peter, in your slicing and dicing of psql, did you end up with anything
> that might make this a feasible approach?

Um, you could call another psql from within psql, like so:

/* 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 haven't actually tried it, but if it happens to not work as
desired, it could certainly be fixed.

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




pgsql-hackers by date:

Previous
From: Ed Loehr
Date:
Subject: Re: [HACKERS] Raising funds for PostgreSQL
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)