Re: DatumGetInetP buggy - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: DatumGetInetP buggy
Date
Msg-id 4EB9969B.7010609@enterprisedb.com
Whole thread Raw
In response to Re: DatumGetInetP buggy  (Boszormenyi Zoltan <zb@cybertec.at>)
List 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 by date:

Previous
From: Greg Jaskiewicz
Date:
Subject: 9.1.2 ?
Next
From: Josh Berkus
Date:
Subject: Releasing an alpha for CF2