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

From Tom Lane
Subject Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
Date
Msg-id 23950.944589174@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] FOREIGN KEY and shift/reduce  (wieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY and shift/reduce)
List pgsql-hackers
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.

Yes, we could really use something like that.

>     I'm not sure how that can be done with a standard shell,  and
>     that's  a  must.   Maybe something using named pipes and so -
>     will play around a little.

Would probably be more portable to write a little bit of C code that
opens several libpq connections and reads a script file with interleaved
commands to send to the different connections.  OTOH, by the time you
got done, it might have much of psql in it (certainly at least the
display code).

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] When is 7.0 going Beta?
Next
From: Ed Loehr
Date:
Subject: Re: [HACKERS] Raising funds for PostgreSQL