Re: Installing support for python on windows

From: Adrian Klaver <aklaver(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Installing support for python on windows
Date: 2007-01-01 17:32:44
Message-ID: 200701010932.44649.aklaver@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday 31 December 2006 7:06 pm, novnov wrote:
> Thanks to both of you. I tried the following and got an error that
> plpython.dll couldn't be found:
>
> D:\postgresql\bin>createlang -U sauser plpythonu mydb
> Password:
> createlang: language installation failed: ERROR: could not load library
> "D:/pos
> tgresql/lib/plpython.dll": The specified module could not be found.
>
> The file spec'd by the error message does indeed exist, though the slashes
> in windows would of course be the other way around in normal use. Then I
> tried leaving of the u in plpythonu
>
> D:\postgresql\bin>createlang -U sauser plpython mydb
> Password:
> createlang: language installation failed: ERROR: unsupported language
> "plpython"
> HINT: The supported languages are listed in the pg_pltemplate system
> catalog.
>
> Then I tried something like what Adrian had suggested:
>
> D:\postgresql\bin>createlang -U sauser -d mydb plpythonu
> Password:
> createlang: language installation failed: ERROR: could not load library
> "D:/pos
> tgresql/lib/plpython.dll": The specified module could not be found.
>
> It's interesting that createlang knows to look in the peer lib directory
> for the language file but somehow does not like the plpython that it sees
> there. I also tried plpython (no trailing u) and had the same error as the
> earlier experiment.
At this point I don't know what to say. Hopefully someone with with experience
installing Postgres on Windows can help out.
--
Adrian Klaver
aklaver(at)comcast(dot)net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message dfx 2007-01-01 17:46:26 How I can read-back a serial value just inserted?
Previous Message Andreas Kretschmer 2007-01-01 15:34:12 Re: permission denied for relation