Re: float4/float8/int64 passed by value with tsearch fixup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: float4/float8/int64 passed by value with tsearch fixup
Дата
Msg-id 9738.1208737699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на float4/float8/int64 passed by value with tsearch fixup  (Zoltan Boszormenyi <zb@cybertec.at>)
Ответы Re: float4/float8/int64 passed by value with tsearch fixup  ("Guillaume Smet" <guillaume.smet@gmail.com>)
Список pgsql-patches
Zoltan Boszormenyi <zb@cybertec.at> writes:
> I tried to split the previous patch up to see where the tsearch regression
> comes from. So, it turned out that:
> - float4 conversion is risk free (patch #1)
> - float8 conversion is okay, too, if coupled with time[stamp[tz]] conversion
>      (patch #2) but with int64 timestamps enabled, the next one is also
> needed:
> - int64 conversion (patch #3) is mostly okay but it is the one that's
> causing
>   the tsearch regression

Applied with revisions --- mostly, supporting configure-time control
over whether pass-by-value is used.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Coding standards
Следующее
От: Tom Lane
Дата:
Сообщение: Re: int8/float8/time/timestamp[tz]/float4 passed by value, was Re: Fix HAVE_LONG[_LONG]_INT_64 to really define to 1