Re: Bug in bttext_abbrev_convert() - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Bug in bttext_abbrev_convert()
Date
Msg-id CAM3SWZS5CEmXuZT3X2yytu8K9Vhe3=kZb66KxRF5ptvJqRup7g@mail.gmail.com
Whole thread Raw
In response to Re: Bug in bttext_abbrev_convert()  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Mon, Jul 6, 2015 at 12:52 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> I suggest CC'ing Peter as a first measure.  I already suggested this (or
> something similar) to him months ago.

This would be a worthwhile effort. tuplesort.c only has 46% coverage.
There is no coverage for functions that I know are used all the time
in production, like dumptuples(), or ExecHashIncreaseNumBatches().

We should make increasing test coverage an explicit goal. Ideally,
there'd be a lower quality set of tests that fill in certain gaps in
code coverage, but are used less frequently, and may take much longer
to run. Simply having the code executed will allow tools like Valgrind
to catch bugs.

-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Gianni
Date:
Subject: Re: Could be improved point of UPSERT
Next
From: David Guimaraes
Date:
Subject: Re: Forensic recovery deleted pgdump custom format file