Re: Extending amcheck to check toast size and compression

From: Greg Stark <stark(at)mit(dot)edu>
To: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Extending amcheck to check toast size and compression
Date: 2021-10-20 18:42:35
Message-ID: CAM-w4HNZTNu8rkYiv91kKuRUZnwuD5F6nQA_E8F2CJknYP3crA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed., Oct. 20, 2021, 12:41 Mark Dilger, <mark(dot)dilger(at)enterprisedb(dot)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.

>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2021-10-20 18:55:54 Interrupts vs signals
Previous Message Tomas Vondra 2021-10-20 18:40:56 Re: [RFC] speed up count(*)