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:
- PostgreSQL 13
- PostgreSQL 12
- PostgreSQL 11
- PostgreSQL 9.6
- PostgreSQL 9.5