mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-21 13:56:59 +08:00
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
38 lines
691 B
Makefile
38 lines
691 B
Makefile
# src/test/modules/Makefile
|
|
|
|
subdir = src/test/modules
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
SUBDIRS = \
|
|
brin \
|
|
commit_ts \
|
|
delay_execution \
|
|
dummy_index_am \
|
|
dummy_seclabel \
|
|
plsample \
|
|
snapshot_too_old \
|
|
test_bloomfilter \
|
|
test_ddl_deparse \
|
|
test_extensions \
|
|
test_ginpostinglist \
|
|
test_integerset \
|
|
test_misc \
|
|
test_parser \
|
|
test_pg_dump \
|
|
test_predtest \
|
|
test_rbtree \
|
|
test_rls_hooks \
|
|
test_shm_mq \
|
|
unsafe_tests \
|
|
worker_spi
|
|
|
|
ifeq ($(with_openssl),yes)
|
|
SUBDIRS += ssl_passphrase_callback
|
|
else
|
|
ALWAYS_SUBDIRS += ssl_passphrase_callback
|
|
endif
|
|
|
|
$(recurse)
|
|
$(recurse_always)
|