PL/Sample

An example template for a procedural language handler
This entry relates to a PostgreSQL feature which is part of PostgreSQL 14, due to be released in late 2021.

PL/Sample is an example template for a procedural language handler, which can be used for testing procedural language APIs or as the basis for the development of a new procedural language.

PL/Sample was added in PostgreSQL 14 (commit adbe62d0).

Source code

The source code for PL/Sample is located at src/test/modules/plsample/.

Categories

Procedural language, Testing