Repository navigation
pgmqtt 0.5.1
Installation
-
Download the tarball for your PostgreSQL version and architecture
-
Extract it:
tar xzf pgmqtt-pg16-amd64.tar.gz
-
Copy the files into your PostgreSQL installation:
cp pgmqtt-pg16-amd64/lib/pgmqtt.so $(pg_config --pkglibdir)/ cp pgmqtt-pg16-amd64/extension/* $(pg_config --sharedir)/extension/
-
Add to
postgresql.conf:shared_preload_libraries = 'pgmqtt' wal_level = logicalSome PostgreSQL builds (observed on 15.19, 16.15 and 17.11;
absent on 18.6 and older minors) only allow logical decoding
output plugins listed in this GUC:output_plugin_libraries = 'pgoutput, test_decoding, pgmqtt'If the broker logs
library "pgmqtt" may not be used as an output plugin, add that line and runSELECT pg_reload_conf();(no
restart needed). -
Restart PostgreSQL and create the extension:
CREATE EXTENSION pgmqtt;
Included artifacts
| File | PostgreSQL | Architecture |
|---|---|---|
pgmqtt-pg15-amd64.tar.gz |
15.x | x86_64 |
pgmqtt-pg15-arm64.tar.gz |
15.x | aarch64 |
pgmqtt-pg16-amd64.tar.gz |
16.x | x86_64 |
pgmqtt-pg16-arm64.tar.gz |
16.x | aarch64 |
pgmqtt-pg17-amd64.tar.gz |
17.x | x86_64 |
pgmqtt-pg17-arm64.tar.gz |
17.x | aarch64 |
pgmqtt-pg18-amd64.tar.gz |
18.x | x86_64 |
pgmqtt-pg18-arm64.tar.gz |
18.x | aarch64 |
All artifacts have been tested via CI before release.