pgmq

A lightweight message queue. Like AWS SQS and RSMQ but on Postgres.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
2900
pgmq
pgmq
1.5.1
FEAT
PostgreSQL
SQL
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-dt-
No
Yes
No
Yes
no
yes
Relationships
Need By
pg_later
vectorize
See Also
kafka_fdw
pg_cron
pg_task
pg_net
pg_background
pgagent
pg_jobmon

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
1.5.1
18
17
16
15
14
13
pgmq_$v-
Debian
PIGSTY
1.5.1
18
17
16
15
14
13
postgresql-$v-pgmq-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
el8.aarch64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
el9.x86_64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
el9.aarch64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
el10.x86_64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
el10.aarch64
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
PIGSTY 1.7.0
d12.x86_64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
d12.aarch64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
d13.x86_64
MISS
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
u22.aarch64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
u24.x86_64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
u24.aarch64
MISS
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PIGSTY 1.5.1
PackageVersionOSORGSIZEFile URL
pgmq_181.7.0el8.x86_64pigsty29.4 KiBpgmq_18-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_181.7.0el8.aarch64pigsty29.4 KiBpgmq_18-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_181.7.0el9.x86_64pigsty28.6 KiBpgmq_18-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_181.7.0el9.aarch64pigsty28.5 KiBpgmq_18-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_181.7.0el10.x86_64pigsty28.6 KiBpgmq_18-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_181.7.0el10.aarch64pigsty28.6 KiBpgmq_18-1.7.0-1PIGSTY.el10.aarch64.rpm
PackageVersionOSORGSIZEFile URL
pgmq_171.7.0el8.x86_64pigsty29.4 KiBpgmq_17-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_171.7.0el8.aarch64pigsty29.4 KiBpgmq_17-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_171.7.0el9.x86_64pigsty28.5 KiBpgmq_17-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_171.7.0el9.aarch64pigsty28.5 KiBpgmq_17-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_171.7.0el10.x86_64pigsty28.6 KiBpgmq_17-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_171.7.0el10.aarch64pigsty28.6 KiBpgmq_17-1.7.0-1PIGSTY.el10.aarch64.rpm
postgresql-17-pgmq1.5.1d12.x86_64pigsty18.3 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~bookworm_amd64.deb
postgresql-17-pgmq1.5.1d12.aarch64pigsty18.3 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~bookworm_arm64.deb
postgresql-17-pgmq1.5.1u22.x86_64pigsty18.8 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~jammy_amd64.deb
postgresql-17-pgmq1.5.1u22.aarch64pigsty18.8 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~jammy_arm64.deb
postgresql-17-pgmq1.5.1u24.x86_64pigsty18.7 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~noble_amd64.deb
postgresql-17-pgmq1.5.1u24.aarch64pigsty18.7 KiBpostgresql-17-pgmq_1.5.1-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pgmq_161.7.0el8.x86_64pigsty29.4 KiBpgmq_16-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_161.7.0el8.aarch64pigsty29.4 KiBpgmq_16-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_161.7.0el9.x86_64pigsty28.5 KiBpgmq_16-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_161.7.0el9.aarch64pigsty28.5 KiBpgmq_16-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_161.7.0el10.x86_64pigsty28.6 KiBpgmq_16-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_161.7.0el10.aarch64pigsty28.6 KiBpgmq_16-1.7.0-1PIGSTY.el10.aarch64.rpm
postgresql-16-pgmq1.5.1d12.x86_64pigsty18.3 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~bookworm_amd64.deb
postgresql-16-pgmq1.5.1d12.aarch64pigsty18.3 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~bookworm_arm64.deb
postgresql-16-pgmq1.5.1u22.x86_64pigsty18.8 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~jammy_amd64.deb
postgresql-16-pgmq1.5.1u22.aarch64pigsty18.8 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~jammy_arm64.deb
postgresql-16-pgmq1.5.1u24.x86_64pigsty18.7 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~noble_amd64.deb
postgresql-16-pgmq1.5.1u24.aarch64pigsty18.7 KiBpostgresql-16-pgmq_1.5.1-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pgmq_151.7.0el8.x86_64pigsty29.4 KiBpgmq_15-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_151.7.0el8.aarch64pigsty29.4 KiBpgmq_15-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_151.7.0el9.x86_64pigsty28.6 KiBpgmq_15-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_151.7.0el9.aarch64pigsty28.5 KiBpgmq_15-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_151.7.0el10.x86_64pigsty28.6 KiBpgmq_15-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_151.7.0el10.aarch64pigsty28.6 KiBpgmq_15-1.7.0-1PIGSTY.el10.aarch64.rpm
postgresql-15-pgmq1.5.1d12.x86_64pigsty18.3 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~bookworm_amd64.deb
postgresql-15-pgmq1.5.1d12.aarch64pigsty18.3 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~bookworm_arm64.deb
postgresql-15-pgmq1.5.1u22.x86_64pigsty18.8 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~jammy_amd64.deb
postgresql-15-pgmq1.5.1u22.aarch64pigsty18.8 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~jammy_arm64.deb
postgresql-15-pgmq1.5.1u24.x86_64pigsty18.7 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~noble_amd64.deb
postgresql-15-pgmq1.5.1u24.aarch64pigsty18.7 KiBpostgresql-15-pgmq_1.5.1-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pgmq_141.7.0el8.x86_64pigsty29.4 KiBpgmq_14-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_141.7.0el8.aarch64pigsty29.4 KiBpgmq_14-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_141.7.0el9.x86_64pigsty28.5 KiBpgmq_14-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_141.7.0el9.aarch64pigsty28.5 KiBpgmq_14-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_141.7.0el10.x86_64pigsty28.6 KiBpgmq_14-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_141.7.0el10.aarch64pigsty28.6 KiBpgmq_14-1.7.0-1PIGSTY.el10.aarch64.rpm
postgresql-14-pgmq1.5.1d12.x86_64pigsty18.3 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~bookworm_amd64.deb
postgresql-14-pgmq1.5.1d12.aarch64pigsty18.3 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~bookworm_arm64.deb
postgresql-14-pgmq1.5.1u22.x86_64pigsty18.8 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~jammy_amd64.deb
postgresql-14-pgmq1.5.1u22.aarch64pigsty18.8 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~jammy_arm64.deb
postgresql-14-pgmq1.5.1u24.x86_64pigsty18.7 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~noble_amd64.deb
postgresql-14-pgmq1.5.1u24.aarch64pigsty18.7 KiBpostgresql-14-pgmq_1.5.1-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pgmq_131.7.0el8.x86_64pigsty29.4 KiBpgmq_13-1.7.0-1PIGSTY.el8.x86_64.rpm
pgmq_131.7.0el8.aarch64pigsty29.4 KiBpgmq_13-1.7.0-1PIGSTY.el8.aarch64.rpm
pgmq_131.7.0el9.x86_64pigsty28.6 KiBpgmq_13-1.7.0-1PIGSTY.el9.x86_64.rpm
pgmq_131.7.0el9.aarch64pigsty28.5 KiBpgmq_13-1.7.0-1PIGSTY.el9.aarch64.rpm
pgmq_131.7.0el10.x86_64pigsty28.6 KiBpgmq_13-1.7.0-1PIGSTY.el10.x86_64.rpm
pgmq_131.7.0el10.aarch64pigsty28.6 KiBpgmq_13-1.7.0-1PIGSTY.el10.aarch64.rpm
postgresql-13-pgmq1.5.1d12.x86_64pigsty18.3 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~bookworm_amd64.deb
postgresql-13-pgmq1.5.1d12.aarch64pigsty18.3 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~bookworm_arm64.deb
postgresql-13-pgmq1.5.1u22.x86_64pigsty18.7 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~jammy_amd64.deb
postgresql-13-pgmq1.5.1u22.aarch64pigsty18.7 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~jammy_arm64.deb
postgresql-13-pgmq1.5.1u24.x86_64pigsty18.7 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~noble_amd64.deb
postgresql-13-pgmq1.5.1u24.aarch64pigsty18.7 KiBpostgresql-13-pgmq_1.5.1-1PIGSTY~noble_arm64.deb

Source

pig build get pgmq; # get pgmq source code
pig build dep pgmq; # install build dependencies
pig build pkg pgmq; # build extension rpm or deb
pig build ext pgmq; # build extension rpms

Install

To add the required PGDG / PIGSTY upstream repository, use:

pig repo add pgsql -u   # add PGDG + Pigsty repo and update cache (leave existing repos)

Install this extension with:

pig ext install pgmq; # install by extension name, for the current active PG version
pig ext install pgmq; # install via package alias, for the active PG version
pig ext install pgmq -v 18;   # install for PG 18
pig ext install pgmq -v 17;   # install for PG 17
pig ext install pgmq -v 16;   # install for PG 16
pig ext install pgmq -v 15;   # install for PG 15
pig ext install pgmq -v 14;   # install for PG 14
pig ext install pgmq -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION pgmq CASCADE SCHEMA pgmq;
Last updated on