TAP test

A regression test using the Perl TAP tools

A TAP test is a regression test which uses the Perl TAP tools, which provide more flexible possibilities for testing than the SQL-based regression tests.

TAP tests and the associated infrastructure were first added in PostgreSQL 9.4.


  • PostgreSQL must have been compiled with the --enable-tap-tests option
  • the Perl module IPC::Run must be present (this is widely available and often installed by default)

Change history