Re: [INTERFACES] PL_na undeclared

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] PL_na undeclared
Дата
Msg-id 16236.938733131@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [INTERFACES] PL_na undeclared  (Brian P Millett <bpm@ec-group.com>)
Список pgsql-interfaces
Brian P Millett <bpm@ec-group.com> writes:
> So if the PERLV is greater than 5.004_76 (When all of the internals
> started to be renamed) then the file perl_PL.h is included.  The
> perl_PL.h is:

> #ifndef patchlevel
> #define patchlevel PL_patchlevel
> #endif
> [ and a lot more in the same vein ]

Ugh.  I was afraid the answer would be just that dirty :-(

Would someone volunteer to do the legwork on teaching the postgres perl5
module about this?  I had a TODO item to look into it myself, but it
could be a long time before it gets to the top of my queue.

Probably we ought to modify the Pg.pm file to use the new names, and
then conditionally include macro definitions to substitute the old
names, rather than the other way around as your example has it.
Forward thinking and all that.
        regards, tom lane


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

Предыдущее
От: "Dana L. Hones"
Дата:
Сообщение: ECPG and Table/Field name case sensitivity
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [INTERFACES] SSL and ODBC