Re: Assert in pageinspect with NULL pages

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: Assert in pageinspect with NULL pages
Дата
Msg-id 20220315115646.GX28503@telsasoft.com
обсуждение исходный текст
Ответ на Re: Assert in pageinspect with NULL pages  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Assert in pageinspect with NULL pages  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Mar 15, 2022 at 06:32:44PM +0900, Michael Paquier wrote:

> +    if (!IS_BRIN(indexRel))
> +        ereport(ERROR,
> +                (errcode(ERRCODE_WRONG_OBJECT_TYPE),
> +                 errmsg("\"%s\" is not a %s index",
> +                        RelationGetRelationName(indexRel), "BRIN")));

If it were me, I'd write this without the extra parens around (errcode()).

> +-- Suppress the DETAIL message, to allow the tests to work across various
> +-- default page sizes.

I think you mean "various non-default page sizes" or "various page sizes".

-- 
Justin



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

Предыдущее
От: Yura Sokolov
Дата:
Сообщение: Re: BufferAlloc: don't take two simultaneous locks
Следующее
От: Joseph Koshakow
Дата:
Сообщение: Re: Can we consider "24 Hours" for "next day" in INTERVAL datatype ?