Re: Variable length varlena headers redux - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Variable length varlena headers redux
Date
Msg-id 20070213083352.GA608@svr2.hagander.net
Whole thread Raw
In response to Re: Variable length varlena headers redux  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Variable length varlena headers redux  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Mon, Feb 12, 2007 at 11:19:14PM -0500, Tom Lane wrote:
> Gregory Stark <gsstark@mit.edu> writes:

> By my count there are only 170 uses of VARATT_SIZEP in the entire
> backend (including contrib) so this is not an especially daunting
> change.  It would break existing user-written functions that return
> varlena values, but the fix wouldn't be painful for them either.

Could the "new style" macros be back-ported to previous releases in case
we do this? That way module maintainers wouldn't need to maintain
two different sets of code for it - they could use the new style and
just compile it against an older version of pg?


//Magnus


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: tsearch2: enable non ascii stop words with C locale
Next
From: Tatsuo Ishii
Date:
Subject: Re: tsearch2: enable non ascii stop words with C locale