Files
postgresql/src/pl/plpython
Peter Eisentraut 264f8f2b6c Install dynamically loadable modules into a private subdirectory
under libdir, for a cleaner separation in the installation layout
and compatibility with binary packaging standards.  Point backend's
default search location there.  The contrib modules are also
installed in the said location, giving them the benefit of the
default search path as well.  No changes in user interface
nevertheless.
2001-09-16 16:11:11 +00:00
..
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00
2001-05-09 19:54:38 +00:00

PL/Python - Python Procedural Language for PostgreSQL
-----------------------------------------------------
$Id: README,v 1.2 2001/05/14 22:06:50 petere Exp $

Installation:

configure --with-python
cd src/pl/plpython
gmake
gmake install

Test:

# have postmaster running...
gmake installcheck

Enable language:

createlang plpython dbname


Note that PL/Python is currently not built automatically because the
code is new and there are some portability issues.

A default Python installation does not provide a shared libpython
library.  This is not a problem on many platforms (although it makes
things less efficient), but on some platforms (especially HP-UX) the
link will fail outright.

To create a shared libpython, see this web page for hints:

http://www.python.org/cgi-bin/faqw.py?req=show&file=faq03.030.htp

Place the resulting library in the same directory as the existing
static libpythonX.Y.a and relink plpython.


Further documentation is available in the PostgreSQL Programmer's
Guide.