Re: BUG #17847: Unaligned memory access in ltree_gist

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17847: Unaligned memory access in ltree_gist
Дата
Msg-id 2654443.1681830401@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17847: Unaligned memory access in ltree_gist  (Alexander Korotkov <aekorotkov@gmail.com>)
Ответы Re: BUG #17847: Unaligned memory access in ltree_gist  (Pavel Borisov <pashkin.elfe@gmail.com>)
Список pgsql-bugs
Alexander Korotkov <aekorotkov@gmail.com> writes:
> LGMT.  I'm going to push v3 unless there are more comments.

I think this reads pretty awkwardly:

+ERROR:  siglen value must be integer-aligned
+DETAIL:  Valid are int-aligned values between "4" and "2024".

The DETAIL message's grammar seems a bit off.  Also, this is confusing the
range limitation with the alignment requirement.  How about just saying

ERROR:  siglen value must be a multiple of 4

and leaving out-of-range cases to be handled by the existing check?

            regards, tom lane



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: BUG #17901: Unexpected 'permission denied' error depending on which template used to create database
Следующее
От: Pavel Borisov
Дата:
Сообщение: Re: BUG #17847: Unaligned memory access in ltree_gist