]> granicus.if.org Git - postgresql/commit
Make plpythonu language use plpython2 shared library directly.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Mar 2011 20:13:15 +0000 (15:13 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Mar 2011 20:13:15 +0000 (15:13 -0500)
commitbfd7f8cbb2ddf8c48ac310a80d33c951087c12c4
tree373e968b40a4cfa00829d3d536783b3f00b51dd3
parentba0c93a0f46ca70cae47a8817067c1e98482979f
Make plpythonu language use plpython2 shared library directly.

The original scheme for this was to symlink plpython.$DLSUFFIX to
plpython2.$DLSUFFIX, but that doesn't work on Windows, and only
accidentally failed to fail because of the way that CREATE LANGUAGE created
or didn't create new C functions.  My changes of yesterday exposed the
weakness of that approach.  To fix, get rid of the symlink and make
pg_pltemplate show what's really going on.
doc/src/sgml/plpython.sgml
src/include/catalog/catversion.h
src/include/catalog/pg_pltemplate.h
src/pl/plpython/Makefile
src/tools/msvc/Mkvcbuild.pm