Re: Sort support for macaddr8

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Sort support for macaddr8
Дата
Msg-id 20190605191442.GA12504@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Sort support for macaddr8  (Andres Freund <andres@anarazel.de>)
Ответы Re: Sort support for macaddr8  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2019-Jun-05, Andres Freund wrote:

> I'd much rather see this tackled in a general way than fiddling with
> individual datatypes. I think we should:
> 
> 1) make fetch_att(), store_att_byval() etc support datums of any length
>    between 1 and <= sizeof(Datum). Probably also convert them to inline
>    functions. There's a few more functions to be adjusted, but not many,
>    I think.

Does this mean that datatypes that are >4 and <=8 bytes need to handle
both cases?  Is it possible for them to detect the current environment?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Sort support for macaddr8
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Sort support for macaddr8