Re: htup header reorganization breaks many extension modules

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: htup header reorganization breaks many extension modules
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C20874BDB6@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: htup header reorganization breaks many extension modules  (Hitoshi Harada <umi.tanuki@gmail.com>)
Ответы Re: htup header reorganization breaks many extension modules  (Michael Paquier <michael.paquier@gmail.com>)
Re: htup header reorganization breaks many extension modules  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hitoshi Harada wrote:
> On Tue, Sep 25, 2012 at 5:30 PM, Peter Eisentraut <peter_e@gmx.net>
wrote:
>> I haven't followed the details of the htup header reorganization, but
I
>> have noticed that a number of external extension modules will be
broken
>> because of the move of GETSTRUCT() and to a lesser extent
>> heap_getattr().  Of course some #ifdefs can fix that, but it seems
>> annoying to make everyone do that.  Maybe this could be reconsidered
to
>> reduce the impact on other projects.

> But it's only add #include "access/htup_details.h"?  I'd not argue
> it's harmful unless I missed your point.

I guess the point is that you need an #ifdef if you want a module
to be able to build with both 9.3 and lower versions.

Otherwise the compiler will complain about the missing include
file on older versions.

Yours,
Laurenz Albe



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

Предыдущее
От: Daniel Farina
Дата:
Сообщение: Re: system_information.triggers & truncate triggers
Следующее
От: Andres Freund
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Properly set relpersistence for fake relcache entries.