Re: static assert cleanup - Mailing list pgsql-hackers

From John Naylor
Subject Re: static assert cleanup
Date
Msg-id CAFBsxsGar4THO2VOj3UMAMq+Ns63eWoa0N94JWvW7FJ-N08TKg@mail.gmail.com
Whole thread Raw
In response to static assert cleanup  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: static assert cleanup  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-hackers

On Fri, Dec 9, 2022 at 2:47 PM Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:
>
> 0003-Move-some-static-assertions-to-better-places.patch
>
> This moves some that I thought were suboptimally placed but it could be
> debated or refined.

+ * We really want ItemPointerData to be exactly 6 bytes.  This is rather a
+ * random place to check, but there is no better place.

Since the assert is no longer in a random function body, it seems we can remove the second sentence.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: generic plans and "initial" pruning
Next
From: Alvaro Herrera
Date:
Subject: Re: Documenting MERGE INTO ONLY ...