plpython on postgresql 9.1

From: Dario Beraldi <dario(dot)beraldi(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: plpython on postgresql 9.1
Date: 2011-10-14 17:21:41
Message-ID: CAEa0nG4TxDFG=0B8M7BkW7GiF7dHraauUqRRjHbrNUGJB-xgrQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have installed postgresql on a mac using the 'one click' installer
(postgresql-9.1.1-1-osx.dmg). I then tried to import the python language but
I get the error:

create language plpythonu;
ERROR: could not access file "$libdir/plpython2": No such file or directory

Can you help me in figuring out what is wrong? (I.e. where can I get
plpython2?)
These are some settings that might be relevant:

Mac OS X 10.6.8

PostgreSQL 9.1.1
python 2.6.1

pg_config --pkglibdir
/Library/PostgreSQL/9.1/lib/postgresql

pg_config --libdir
/Library/PostgreSQL/9.1/lib

Many thanks!

Dario

Browse pgsql-general by date

  From Date Subject
Next Message Guillaume Lelarge 2011-10-14 17:31:36 Re: Postgres Account Inherit Question
Previous Message Julien Rouhaud 2011-10-14 17:00:56 Re: Confused About pg_* Tables