Compile plPython for Python 3.2 - Mailing list pgsql-hackers

From Marios Vodas
Subject Compile plPython for Python 3.2
Date
Msg-id BANLkTinGcUWeTVJ5hiGwZwPhN0+Xjc4Zcg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
I am trying to build plPython for Python 3.2 64bit under Windows 7 with Microsoft Windows SDK v7.0 (all tools are 64bit). I downloaded Python from python.org
I get this error:

"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln" (default target) (1) ->
(PLs\plpython target) ->
  .\src\pl\plpython\plpython.c(3210): error C2201: 'PyInit_plpy' : must have ex
ternal linkage in order to be exported/imported


"C:\Users\user\Desktop\postgresql-9.0.4\pgsql.sln" (default target) (1) ->
(interfaces\ecpg target) ->
  Project : error PRJ0019: A tool returned an error code from "Running bison on
 src\interfaces\ecpg\preproc\preproc.y"

How can I fix this?

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: enhanced get diagnostics statement
Next
From: Kohei KaiGai
Date:
Subject: sepgsql: fix relkind handling on foreign tables