postgresql/src/pl/plpython
Bruce Momjian 9b59ddfb40 It may not be obvious to you, but the plpython regression tests
include output that vary depending on the python build one is
running. Basically, the order of keys in a dictionary is
non-deterministic, and that part of the test fails for me regularly.

I rewrote the test to work around this problem, and include a patch
file with that change and the change to the expected otuput as well.

Mike Meyer
2003-03-27 16:58:21 +00:00
..
error.expected Clean up plpython error reporting so that its regression test passes 2003-01-31 22:25:14 +00:00
feature.expected It may not be obvious to you, but the plpython regression tests 2003-03-27 16:58:21 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
plpython.c This patch fixes a bunch of spelling mistakes in comments throughout the 2003-03-10 22:28:22 +00:00
plpython.h Change made to elog: 2002-03-06 06:10:59 +00:00
plpython_depopulate.sql Add plpython code. 2001-05-09 19:54:38 +00:00
plpython_deschema.sql Add plpython code. 2001-05-09 19:54:38 +00:00
plpython_drop.sql Add plpython code. 2001-05-09 19:54:38 +00:00
plpython_error.sql plpython security and error handling fixes, from 2001-11-16 18:04:31 +00:00
plpython_function.sql It may not be obvious to you, but the plpython regression tests 2003-03-27 16:58:21 +00:00
plpython_populate.sql Add plpython code. 2001-05-09 19:54:38 +00:00
plpython_schema.sql I have attached two patches as per: 2002-10-14 04:20:52 +00:00
plpython_setof.sql Add plpython code. 2001-05-09 19:54:38 +00:00
plpython_test.sql PL/Python should build portably now, if you can get over the fact that 2001-05-12 17:49:32 +00:00
README Remove linking hacks now that dynloader is fixed. 2001-05-14 22:06:50 +00:00
test.sh Clean up plpython error reporting so that its regression test passes 2003-01-31 22:25:14 +00:00
TODO PL/Python should build portably now, if you can get over the fact that 2001-05-12 17:49:32 +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.