Re: Variable length varlena headers redux

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Variable length varlena headers redux
Дата
Msg-id 200702131422.l1DEM8x06569@momjian.us
обсуждение исходный текст
Ответ на Re: Variable length varlena headers redux  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Variable length varlena headers redux  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Magnus Hagander wrote:
> 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?

Yes, Tom and I talked about this.  It could appear in the next minor
release of all branches.

--  Bruce Momjian  <bruce@momjian.us>          http://momjian.us EnterpriseDB
http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Variable length varlena headers redux
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Variable length varlena headers redux