Re: static assert cleanup

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: static assert cleanup
Дата
Msg-id 4d61a288-cc0a-cd79-2cd8-2019415be939@enterprisedb.com
обсуждение исходный текст
Ответ на Re: static assert cleanup  (John Naylor <john.naylor@enterprisedb.com>)
Список pgsql-hackers
On 09.12.22 11:01, John Naylor wrote:
> 
> On Fri, Dec 9, 2022 at 2:47 PM Peter Eisentraut 
> <peter.eisentraut@enterprisedb.com 
> <mailto: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.

Committed with the discussed adjustments.




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Luzanov
Дата:
Сообщение: Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX
Следующее
От: Pavel Luzanov
Дата:
Сообщение: Re: allow granting CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX