Re: New user: Windows, Postgresql, Python

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Paul Moore" <pf_moore(at)yahoo(dot)co(dot)uk>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: New user: Windows, Postgresql, Python
Date: 2005-03-14 11:45:08
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE476AEF@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hi,
> I'm just starting to look at Postgresql. My platform (for better or
> worse) is Windows, and I'm quite interested in the pl/python support.
> However, when I run the binary installer, it is not offered
> to me as an option (it's there, but greyed out). The
> plpython.dll file is installed, however.
>
> When I check, it looks like plpython.dll is linked against
> Python 2.3. I have Python 2.4 installed on my PC, and I don't
> really want to downgrade.
>
> I suppose my first (lazy) question is, is there a Python 2.4
> compatible plpython.dll available anywhere? Alternatively, is
> there a way I can build one for myself? I'm happy enough
> doing my own build (I have mingw and msys available), but I'd
> rather not build the whole of postgresql if possible, just
> for the sake of one DLL....

Not that I know of. IFF the libraries export the same entrypoints
without changing things, you could try just copying "python24.dll" to
"python23.dll". I don't know how the Python guys are with binary
compatibility, though. Might be worth a shot.

On a different note, can't you have both python 2.3 *and* 2.4 on the
asme system? Considering they put the version number in the filename, it
seems this should be possible?

//Magnus

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rick Schumeyer 2005-03-14 11:52:58 prelimiary performance comparison pgsql vs mysql
Previous Message Janning Vygen 2005-03-14 11:22:57 pg_restore: [custom archiver] could not uncompress data: incorrect data check