Test module

An extension or test intended for testing PostgreSQL and/or to serve as example code

A test module is an extension and/or set of SQL tests which is primarily or entirely intended for testing PostgreSQL and/or to serve as example code.

Test modules are located (from PostgreSQL 9.5 onwards) in the source code directory src/test/modules/. They do not form part of normal PostgreSQL distributions or packages and are intended for use by people working with the source code. Prior to PostgreSQL 9.5, a few test modules were included as contrib modules.

Available test modules

As of PostgreSQL 13, following modules exist:

Change history

Categories

Extension, Testing