]> granicus.if.org Git - postgresql/commit
Add transforms feature
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Apr 2015 14:33:14 +0000 (10:33 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Apr 2015 14:33:14 +0000 (10:33 -0400)
commitcac76582053ef8ea07df65fed0757f352da23705
tree6ae01041aa61db9d686638b9d4c3ccd30d7c6487
parentf320cbb615e0374b18836337713239da58705cf3
Add transforms feature

This provides a mechanism for specifying conversions between SQL data
types and procedural languages.  As examples, there are transforms
for hstore and ltree for PL/Perl and PL/Python.

reviews by Pavel StÄ›hule and Andres Freund
101 files changed:
contrib/Makefile
contrib/hstore_plperl/.gitignore [new file with mode: 0644]
contrib/hstore_plperl/Makefile [new file with mode: 0644]
contrib/hstore_plperl/expected/create_transform.out [new file with mode: 0644]
contrib/hstore_plperl/expected/hstore_plperl.out [new file with mode: 0644]
contrib/hstore_plperl/hstore_plperl--1.0.sql [new file with mode: 0644]
contrib/hstore_plperl/hstore_plperl.c [new file with mode: 0644]
contrib/hstore_plperl/hstore_plperl.control [new file with mode: 0644]
contrib/hstore_plperl/hstore_plperlu--1.0.sql [new file with mode: 0644]
contrib/hstore_plperl/hstore_plperlu.control [new file with mode: 0644]
contrib/hstore_plperl/sql/create_transform.sql [new file with mode: 0644]
contrib/hstore_plperl/sql/hstore_plperl.sql [new file with mode: 0644]
contrib/hstore_plpython/.gitignore [new file with mode: 0644]
contrib/hstore_plpython/Makefile [new file with mode: 0644]
contrib/hstore_plpython/expected/hstore_plpython.out [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpython.c [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpython2u--1.0.sql [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpython2u.control [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpython3u--1.0.sql [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpython3u.control [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpythonu--1.0.sql [new file with mode: 0644]
contrib/hstore_plpython/hstore_plpythonu.control [new file with mode: 0644]
contrib/hstore_plpython/sql/hstore_plpython.sql [new file with mode: 0644]
contrib/ltree_plpython/.gitignore [new file with mode: 0644]
contrib/ltree_plpython/Makefile [new file with mode: 0644]
contrib/ltree_plpython/expected/ltree_plpython.out [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpython.c [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpython2u--1.0.sql [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpython2u.control [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpython3u--1.0.sql [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpython3u.control [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpythonu--1.0.sql [new file with mode: 0644]
contrib/ltree_plpython/ltree_plpythonu.control [new file with mode: 0644]
contrib/ltree_plpython/sql/ltree_plpython.sql [new file with mode: 0644]
doc/src/sgml/catalogs.sgml
doc/src/sgml/hstore.sgml
doc/src/sgml/information_schema.sgml
doc/src/sgml/ltree.sgml
doc/src/sgml/ref/allfiles.sgml
doc/src/sgml/ref/alter_extension.sgml
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_transform.sgml [new file with mode: 0644]
doc/src/sgml/ref/drop_transform.sgml [new file with mode: 0644]
doc/src/sgml/reference.sgml
src/Makefile.shlib
src/backend/catalog/Makefile
src/backend/catalog/dependency.c
src/backend/catalog/information_schema.sql
src/backend/catalog/objectaddress.c
src/backend/catalog/pg_aggregate.c
src/backend/catalog/pg_proc.c
src/backend/commands/dropcmds.c
src/backend/commands/event_trigger.c
src/backend/commands/functioncmds.c
src/backend/commands/proclang.c
src/backend/commands/typecmds.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/backend/utils/adt/ruleutils.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/cache/syscache.c
src/backend/utils/fmgr/funcapi.c
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dump_sort.c
src/include/catalog/catversion.h
src/include/catalog/dependency.h
src/include/catalog/indexing.h
src/include/catalog/pg_class.h
src/include/catalog/pg_proc.h
src/include/catalog/pg_proc_fn.h
src/include/catalog/pg_transform.h [new file with mode: 0644]
src/include/commands/defrem.h
src/include/funcapi.h
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h
src/include/parser/kwlist.h
src/include/utils/lsyscache.h
src/include/utils/syscache.h
src/interfaces/ecpg/preproc/ecpg.tokens
src/interfaces/ecpg/preproc/ecpg.trailer
src/interfaces/ecpg/preproc/ecpg_keywords.c
src/pl/plperl/GNUmakefile
src/pl/plperl/plperl.c
src/pl/plperl/plperl_helpers.h
src/pl/plpython/Makefile
src/pl/plpython/plpy_main.c
src/pl/plpython/plpy_procedure.c
src/pl/plpython/plpy_procedure.h
src/pl/plpython/plpy_spi.c
src/pl/plpython/plpy_typeio.c
src/pl/plpython/plpy_typeio.h
src/pl/plpython/plpy_util.c
src/pl/plpython/plpy_util.h
src/pl/plpython/plpython.h
src/pl/plpython/regress-python3-mangle.mk [new file with mode: 0644]
src/test/regress/expected/sanity_check.out