Re: ALTER TYPE 0: Introduction; test cases - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ALTER TYPE 0: Introduction; test cases
Date
Msg-id 8907.1295197664@sss.pgh.pa.us
Whole thread Raw
In response to Re: ALTER TYPE 0: Introduction; test cases  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: ALTER TYPE 0: Introduction; test cases  (Noah Misch <noah@leadboat.com>)
Re: ALTER TYPE 0: Introduction; test cases  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sat, Jan 15, 2011 at 10:25 AM, Noah Misch <noah@leadboat.com> wrote:
>> Do you value test coverage so little?

> If you're asking whether I think real-world usability is more
> important than test coverage, then yes.

Quite honestly, I'd be inclined to rip out most of the DEBUG messages I
see in that regression test altogether.  They are useless, and so is the
regression test itself.  An appropriate regression test would involve
something more like checking that the relfilenode changed and then
checking that the contained data is still sane.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: We need to log aborted autovacuums
Next
From: Magnus Hagander
Date:
Subject: Re: walreceiver fallback_application_name