Re: Extending amcheck to check toast size and compression - Mailing list pgsql-hackers

From Greg Stark
Subject Re: Extending amcheck to check toast size and compression
Date
Msg-id CAM-w4HNZTNu8rkYiv91kKuRUZnwuD5F6nQA_E8F2CJknYP3crA@mail.gmail.com
Whole thread Raw
In response to Re: Extending amcheck to check toast size and compression  (Mark Dilger <mark.dilger@enterprisedb.com>)
Responses Re: Extending amcheck to check toast size and compression  (Mark Dilger <mark.dilger@enterprisedb.com>)
List pgsql-hackers


On Wed., Oct. 20, 2021, 12:41 Mark Dilger, <mark.dilger@enterprisedb.com> wrote:

I used a switch statement to trigger a compiler warning in such an event.

Catching better compiler diagnostics is an excellent reason to choose this structure. I guess all I could ask is that the comment saying no default branch say this is the motivation.

pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: [RFC] speed up count(*)
Next
From: Thomas Munro
Date:
Subject: Interrupts vs signals