pgtap
Unit testing for PostgreSQL
Module:
Categories:
Overview
PGDG 1st Party Extension: pgtap
: Unit testing for PostgreSQL
Information
- Extension ID: 3200
- Extension Name:
pgtap
- Package Name:
pgtap
- Category:
LANG
- License: PostgreSQL
- Website: https://github.com/theory/pgtap
- Language: C
- Extra Tags:
test
- Comment:
Metadata
- Latest Version: 1.3.3
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Unknown
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
pgtap_$v*
- RPM Ver :
1.3.3
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-pgtap
- DEB Ver :
1.3.3
- DEB Deps: N/A
Availability
OS | Arch | PG17 | PG16 | PG15 | PG14 | PG13 |
---|---|---|---|---|---|---|
el8 |
x86_64 |
pgtap_17 PGDG 1.3.3 |
pgtap_16 PGDG 1.3.3 |
pgtap_15 PGDG 1.3.3 |
pgtap_14 PGDG 1.3.3 |
pgtap_13 PGDG 1.3.3 |
el8 |
aarch64 |
pgtap_13 PGDG 1.3.3 |
||||
el9 |
x86_64 |
pgtap_17 PGDG 1.3.3 |
pgtap_16 PGDG 1.3.1 |
pgtap_15 PGDG 1.3.1 |
pgtap_14 PGDG 1.3.1 |
pgtap_13 PGDG 1.3.3 |
el9 |
aarch64 |
pgtap_17 PGDG 1.3.3 |
pgtap_16 PGDG 1.3.3 |
pgtap_15 PGDG 1.3.3 |
pgtap_14 PGDG 1.3.3 |
pgtap_13 PGDG 1.3.3 |
d12 |
x86_64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
d12 |
aarch64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
u22 |
x86_64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
u22 |
aarch64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
u24 |
x86_64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
u24 |
aarch64 |
postgresql-17-pgtap PGDG 1.3.3 |
postgresql-16-pgtap PGDG 1.3.3 |
postgresql-15-pgtap PGDG 1.3.3 |
postgresql-14-pgtap PGDG 1.3.3 |
postgresql-13-pgtap PGDG 1.3.3 |
Installation
Install pgtap
via the pig
CLI tool:
pig ext install pgtap
Install pgtap
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pgtap"]}' # -l <cls>
Install pgtap
RPM from YUM repo directly:
dnf install pgtap_17*;
dnf install pgtap_16*;
dnf install pgtap_15*;
dnf install pgtap_14*;
dnf install pgtap_13*;
Install pgtap
DEB from APT repo directly:
apt install postgresql-17-pgtap;
apt install postgresql-16-pgtap;
apt install postgresql-15-pgtap;
apt install postgresql-14-pgtap;
apt install postgresql-13-pgtap;
Create pgtap
extension on PostgreSQL cluster:
CREATE EXTENSION pgtap;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.