amcheck verification for GiST - Mailing list pgsql-hackers

From Andrey Borodin
Subject amcheck verification for GiST
Date
Msg-id 59D0DA6B-1652-4D44-B0EF-A582D5824F83@yandex-team.ru
Whole thread Raw
Responses Re: amcheck verification for GiST  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
Hi, hackers!

Here's the patch with amcheck functionality for GiST.

It basically checks two invariants:
1. Every internal tuple need no adjustment by tuples of referenced page
2. Internal page reference or only leaf pages or only internal pages

We actually cannot check all balanced tree invariants due to concurrency reasons some concurrent splits will be visible
astemporary balance violations. 

Are there any other invariants that we can check?

I'd be happy to hear any thought about this.

Best regards, Andrey Borodin.

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Changing the setting of wal_sender_timeout per standby
Next
From: Keiichi Hirobe
Date:
Subject: [patch]overallocate memory for curly braces in array_out