Re: Testing of MVCC

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Matt Miller <mattm(at)epx(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Testing of MVCC
Date: 2005-08-15 23:31:19
Message-ID: 430125C7.401@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:

>
>What we really need is a test program that can issue a command on one
>connection (perhaps waiting for it to finish, perhaps not) and then
>issue other commands on other connections, all according to a script.
>I am unsure that the existing pg_regress infrastructure is the right
>place to start from. Perhaps we should look at Expect or something
>similar.
>
>
>
>

Or else a harness that operates at the library/connection level rather
than trying to control a tty app.

Expect is very cool, but it would impose an extra dependency on tcl that
we don't now have for building and testing, and I am not sure how easy
or even possible it is to get it to work in a satisfactory way on
Windows. The NIST site says it's in AS Tcl, but in the docs that
accompany my copy of same, it says "Unix only" on the Expect manual page.

Just some words of caution.

One other note: please be very careful in changing pg_regress.sh -
getting it right especially on Windows was very time consuming, and it
is horribly fragile.

cheers

andrew

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-08-15 23:48:25 Re: converting curly apostrophes to standard apostrophes
Previous Message Michael Fuhr 2005-08-15 22:45:04 Re: Testing of MVCC

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-08-16 00:55:53 Re: Testing of MVCC
Previous Message Bruce Momjian 2005-08-15 23:14:38 Re: Changes improve the performance of INSERT and UPDATE