Re: createlang plpythonu fails on 64bit windows

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: createlang plpythonu fails on 64bit windows
Дата
Msg-id AANLkTiktLeYjW9_2qX0aNYJ5Bg3+ZraQFL4Lnu54tPNJ@mail.gmail.com
обсуждение исходный текст
Ответ на createlang plpythonu fails on 64bit windows  ("Massa, Harald Armin" <chef@ghum.de>)
Ответы Re: createlang plpythonu fails on 64bit windows  ("Massa, Harald Armin" <chef@ghum.de>)
Список pgsql-general
On Sun, Oct 24, 2010 at 10:02 AM, Massa, Harald Armin <chef@ghum.de> wrote:
> (which translated to english is roughly:
> createlang: Installation of language failed: ERROR:  could not load library
> »C:/Program Files/PostgreSQL/9.0/lib/plpython.dll« : %1 is not a valid
> Win32 application.
> Should'nt plplython.dll be a valid win32_x64 application when being loaded
> into PostgreSQL 64bit? Could this be the source of the error? (as in:
> "plpython.dll is 32 bit, PostgreSQL is 64bit, so no loading of 32-bit-module
> into 64-bit-process?)

plpython.dll is unlikely to be 32bit unless you're using the 32bit
Postgres build (it's built along with the rest of the server, so...).
What version of Python do you have? A quick glance at the build script
shows we're using 2.6, and we always use the ActiveState builds.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: "Massa, Harald Armin"
Дата:
Сообщение: createlang plpythonu fails on 64bit windows
Следующее
От: "Massa, Harald Armin"
Дата:
Сообщение: Re: createlang plpythonu fails on 64bit windows