RefLib

Reference library for AI

Back

postgresql_16:9.6.41 spi — Server Programming Interface features/examples

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > spi — Server Programming Interface features/examples

The spi module provides several workable examples of using the Server Programming Interface (see postgresql_16:6.10) (SPI) and triggers. While these functions are of some value in their own right, they are even more useful as examples to modify for your own purposes. The functions are general enough to be used with any table, but you have to specify table and field names (as described below) while creating a trigger.

Each of the groups of functions described below is provided as a separately-installable extension.

Subsections

Back