git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6e70443) | patch
Add PL/Sample to src/test/modules/
2020年8月18日 02:10:50 +0000 (11:10 +0900)
2020年8月18日 02:10:50 +0000 (11:10 +0900)
commit adbe62d04b360bbd408d97e447932d8078485972
Add PL/Sample to src/test/modules/

PL/Sample is an example template of procedural-language handler. This
can be used as a base to implement a custom PL, or as a facility to test
APIs dedicated to PLs. Much more could be done in this module, like
adding a simple validator, but this is left as future work.

The documentation included originally some C code to understand the
basics of PL handler implementation, but it was outdated, and not really
helpful either if trying to implement a new procedural language,
particularly when it came to the integration of a PL installation with
CREATE EXTENSION.

Author: Mark Wong
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/20200612172648.GA3327@2ndQuadrant.com
doc/src/sgml/plhandler.sgml diff | blob | blame | history
src/test/modules/Makefile diff | blob | blame | history
src/test/modules/plsample/.gitignore [new file with mode: 0644] blob
src/test/modules/plsample/Makefile [new file with mode: 0644] blob
src/test/modules/plsample/README [new file with mode: 0644] blob
src/test/modules/plsample/expected/plsample.out [new file with mode: 0644] blob
src/test/modules/plsample/plsample--1.0.sql [new file with mode: 0644] blob
src/test/modules/plsample/plsample.c [new file with mode: 0644] blob
src/test/modules/plsample/plsample.control [new file with mode: 0644] blob
src/test/modules/plsample/sql/plsample.sql [new file with mode: 0644] blob
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /