Re: DatumGetInetP buggy

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: DatumGetInetP buggy
Дата
Msg-id 4EB9969B.7010609@enterprisedb.com
обсуждение исходный текст
Ответ на Re: DatumGetInetP buggy  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
On 08.11.2011 20:46, Boszormenyi Zoltan wrote:
> 2011-11-08 18:53 keltezéssel, Heikki Linnakangas írta:
>> What do people think of backpatching this? I'm inclined to backpatch, on the grounds
>> that the macro that detoasts and depacks should always work (ie. after this patch), even
>> if the depacking isn't necessary and introduces an extra palloc+copy, but the reverse is
>> not true.
>
> On the grounds that 9.0.x also shows the problem with
> the stock macro, backporting would be nice. I don't know
> which older trees may show the problem, I only tested with
> 9.0 and 9.1.

Packed varlenas were introduced in 8.3 - this hasn't changed since then. 
Committed and backpatched all the way to 8.3.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


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

Предыдущее
От: Greg Jaskiewicz
Дата:
Сообщение: 9.1.2 ?
Следующее
От: Josh Berkus
Дата:
Сообщение: Releasing an alpha for CF2