From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Manfred Koizar" <mkoi-pg(at)aon(dot)at> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | TESTING (was: RE: More vacuum.c refactoring ) |
Date: | 2004-06-11 21:14:21 |
Message-ID: | 54798A299E68514AB7C4DEBA25F03BE101BA25@postal.corporate.connx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
> Sent: Thursday, June 10, 2004 2:19 PM
> To: Manfred Koizar
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] More vacuum.c refactoring
>
>
> Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
> > This code is very similar to vacuum_page(). The major
> difference is
> > that vacuum_page() uses vacpage->offsets while the code in
> > repair_frag() looks for MOVED_OFF bits in tuple headers.
> AFAICS the
> > tuples with the MOVED_OFF bit set are exactly those referenced by
> > vacpage->offsets.
>
> This does not make me comfortable. You *think* that two
> different bits of code are doing the same thing, so you want
> to hack up vacuum.c? This module is delicate code --- we've
> had tons of bugs there in the past
> --- and no I have zero confidence that passing the regression
> tests proves anything, because all those prior bugs passed
> the regression tests.
Then why didn't those bugs get added to the regression? That has been
standard procedure in every place that I have ever worked.
We have 7000+ tests in our CONNX regression suite that take one week to
run, on an array of dozens of computers from micros to mainframes.
Besides finding quickly if you have reintroduced a problem, it will also
ferret out lots of newly introduced problems.
It seems that MySQL has some sort of extensive test, from looking at
their site. Maybe the Pgsql group could simply cannibalize it.
Perhaps your regression test is really a sanity check, rather than a
regression test. After all, the meaning of 'regression' itself demands
that you introduce new tests based upon old failures.
I seem to recall that someone was porting the NIST suite to PostgreSQL.
What ever happened to that effort?
From | Date | Subject | |
---|---|---|---|
Next Message | Manfred Spraul | 2004-06-11 21:27:52 | Re: Compiling libpq with VisualC |
Previous Message | Dann Corbit | 2004-06-11 20:41:27 | Re: [pgsql-hackers-win32] Tablespaces |