]> granicus.if.org Git - postgresql/commit
Create extension infrastructure for the core procedural languages.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Mar 2011 02:51:14 +0000 (21:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 5 Mar 2011 02:51:14 +0000 (21:51 -0500)
commit63b656b7bf39beb5b6095ab2b5e1e4e9d8c6a965
tree2d116388fbe0c64f1b3887b254ff58d163df2d43
parentefa415da8c0fb8c1c0bc50faebac430f8b917571
Create extension infrastructure for the core procedural languages.

This mostly just involves creating control, install, and
update-from-unpackaged scripts for them.  However, I had to adjust plperl
and plpython to not share the same support functions between variants,
because we can't put the same function into multiple extensions.

catversion bump forced due to new contents of pg_pltemplate, and because
initdb now installs plpgsql as an extension not a bare language.

Add support for regression testing these as extensions not bare
languages.

Fix a couple of other issues that popped up while testing this: my initial
hack at pg_dump binary-upgrade support didn't work right, and we don't want
an extra schema permissions test after all.

Documentation changes still to come, but I'm committing now to see
whether the MSVC build scripts need work (likely they do).
41 files changed:
src/backend/commands/extension.c
src/bin/initdb/initdb.c
src/bin/pg_dump/pg_dump.c
src/include/catalog/catversion.h
src/include/catalog/pg_pltemplate.h
src/pl/plperl/GNUmakefile
src/pl/plperl/plperl--1.0.sql [new file with mode: 0644]
src/pl/plperl/plperl--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plperl/plperl.c
src/pl/plperl/plperl.control [new file with mode: 0644]
src/pl/plperl/plperlu--1.0.sql [new file with mode: 0644]
src/pl/plperl/plperlu--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plperl/plperlu.control [new file with mode: 0644]
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/plpgsql--1.0.sql [new file with mode: 0644]
src/pl/plpgsql/src/plpgsql--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plpgsql/src/plpgsql.control [new file with mode: 0644]
src/pl/plpython/Makefile
src/pl/plpython/expected/plpython_drop.out
src/pl/plpython/expected/plpython_test.out
src/pl/plpython/plpython.c
src/pl/plpython/plpython2u--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpython2u--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpython2u.control [new file with mode: 0644]
src/pl/plpython/plpython3u--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpython3u--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpython3u.control [new file with mode: 0644]
src/pl/plpython/plpythonu--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpythonu--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/plpython/plpythonu.control [new file with mode: 0644]
src/pl/plpython/sql/plpython_drop.sql
src/pl/plpython/sql/plpython_test.sql
src/pl/tcl/Makefile
src/pl/tcl/pltcl--1.0.sql [new file with mode: 0644]
src/pl/tcl/pltcl--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/tcl/pltcl.control [new file with mode: 0644]
src/pl/tcl/pltclu--1.0.sql [new file with mode: 0644]
src/pl/tcl/pltclu--unpackaged--1.0.sql [new file with mode: 0644]
src/pl/tcl/pltclu.control [new file with mode: 0644]
src/test/regress/pg_regress.c
src/tools/msvc/vcregress.pl