pgsql: Change PyInit_plpy to external linkage

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Change PyInit_plpy to external linkage
Дата
Msg-id E1Qu152-0006iy-CH@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Change PyInit_plpy to external linkage

Module initialization functions in Python 3 must have external
linkage, because PyMODINIT_FUNC does dllexport on Windows-like
platforms.  Without this change, the build with Python 3 fails on
Windows.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e1f9aa4eaecd8107230df1a1b698e8caf0fba4f8

Modified Files
--------------
src/pl/plpython/plpython.c |    8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Hide unused variable warnings under Python 3
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Properly handle empty arrays returned from plperl functions.