Re: [PATCH] Refactor bytea_sortsupport(), take two

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: [PATCH] Refactor bytea_sortsupport(), take two
Дата
Msg-id CANWCAZYJ9y0x9v_P7V8HhTy88pXuO98G+zUUKhqMMhzVzj4Dog@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Refactor bytea_sortsupport(), take two  (Aleksander Alekseev <aleksander@tigerdata.com>)
Список pgsql-hackers
On Thu, Nov 27, 2025 at 7:45 PM Aleksander Alekseev
<aleksander@tigerdata.com> wrote:
> > "Short byteas will have terminating NUL bytes in the abbreviated
> > datum. Abbreviated comparison need not  make a distinction between
> > thse NUL bytes, and NUL bytes representing actual NULs in the
> > authoritative representation." [...]
> >
> > After that, the rest seems to flow better at a quick glance.
>
> Yes, it is much better now, thanks! Previously the comment was
> reasoning about NUL bytes as if normally bytea can't have them which
> IMO was confusing.

Pushed v7 with a few small adjustments, mostly for pgindent and the
new practice to prefer palloc_object().

--
John Naylor
Amazon Web Services



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