Re: static assert cleanup

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: static assert cleanup
Дата
Msg-id CAFBsxsGar4THO2VOj3UMAMq+Ns63eWoa0N94JWvW7FJ-N08TKg@mail.gmail.com
обсуждение исходный текст
Ответ на static assert cleanup  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: static assert cleanup  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: generic plans and "initial" pruning
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Documenting MERGE INTO ONLY ...