Re: PL/Python warnings in CVS HEAD

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: PL/Python warnings in CVS HEAD
Дата
Msg-id 1173156985.6695.91.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: PL/Python warnings in CVS HEAD  (Neil Conway <neilc@samurai.com>)
Ответы Re: PL/Python warnings in CVS HEAD  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sat, 2007-03-03 at 14:29 -0500, Neil Conway wrote:
> No, it just looks like a Python API 2.5 change to me

Attached is a patch that fixes the warnings. Unfortunately, it seems
this patch won't compile against Python 2.4: the 2.5 API requires the
use of some typedef's that AFAICS were only introduced in 2.5.

Since we presumably still want to support Python < 2.5, we can either
not apply this patch and tolerate the warnings, or else we can
workaround the incompatibility with some preprecessor hackery (e.g.
supply the missing typedef's ourselves if Python doesn't provide them).

Comments?

-Neil


Вложения

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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: Bug: Buffer cache is not scan resistant
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/Python warnings in CVS HEAD