createlang plpythonu fails on 64bit windows

From: "Massa, Harald Armin" <chef(at)ghum(dot)de>
To: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: createlang plpythonu fails on 64bit windows
Date: 2010-10-24 09:02:36
Message-ID: AANLkTik+MajuYP0egKqaoHh0VrQh-sY_4o7W6ihmM-sE@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I am using PostgreSQL 9.0.1 on Windows 7.0 Ultimate 64bit.

I tried to use plpython within one of my databases, but installing the
language fails with:

C:\Program Files\PostgreSQL\9.0\lib>createlang --dbname=ibox --echo -U
postgres plpythonu
SELECT oid FROM pg_catalog.pg_language WHERE lanname = 'plpythonu';
CREATE LANGUAGE "plpythonu";
createlang: Installation der Sprache fehlgeschlagen: FEHLER: konnte
Bibliothek »C:/Program Files/PostgreSQL/9.0/lib/pl
python.dll« nicht laden: %1 is not a valid Win32 application.

(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?)

Harald

--
GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Page 2010-10-24 10:11:56 Re: createlang plpythonu fails on 64bit windows
Previous Message Michael Gardner 2010-10-23 16:42:41 Re: Performance implications of creating many, many sequences