From: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | 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-08 15:57:19 |
Message-ID: | 384E7FDF.4B9E4245@alumni.caltech.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > ... 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.
There are tools I'd consider using for this such as tcl/expect which
help with simulating interactive sessions and with coordinating
multiple actions. Forget the "sh only" approach if it makes things
difficult; some platforms ship with a much richer toolset, and these
tools might be well suited to your problem.
If it works and there is a big demand for the "sh tools" then someone
can recode it later, and it isn't holding you up now.
... my 2 cents...
- Thomas
--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 1999-12-08 15:59:30 | Re: [HACKERS] Parallel regress tests (was Re: FOREIGN KEY andshift/reduce) |
Previous Message | Thomas Lockhart | 1999-12-08 15:51:50 | Re: [HACKERS] When is 7.0 going Beta? |