Re: Increasing test coverage of WAL redo functions - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Increasing test coverage of WAL redo functions
Date
Msg-id 546CCD8B.8010706@vmware.com
Whole thread Raw
In response to Re: Increasing test coverage of WAL redo functions  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 11/19/2014 04:54 PM, Alvaro Herrera wrote:
> Also I'm surprised that BRIN did not turn up here.  At least the "page
> evacuation protocol" to obtain a new revmap page is not exercised by the
> current tests.  I suppose it's because all WAL records are covered by
> other activity, and page evacuation does not emit a specialized WAL
> record.  If we have the "big" test for this, maybe we can enlarge the
> table for the brin index too to ensure we cover this.

Yeah, all of BRIN's redo functions are fully covered by current 
regression tests. Well done :-).

The evacuation code indeed isn't covered. That would be pretty easy to 
fix; just make a table that has a brin index on it large enough.

- Heikki




pgsql-hackers by date:

Previous
From: "Aaron W. Swenson"
Date:
Subject: Move Deprecated configure.in to configure.ac
Next
From: Heikki Linnakangas
Date:
Subject: Re: What exactly is our CRC algorithm?