Skip to content

pgmqtt 0.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Sep 22:42
276db4a

pgmqtt 0.5.1

Installation

  1. Download the tarball for your PostgreSQL version and architecture

  2. Extract it:

    tar xzf pgmqtt-pg16-amd64.tar.gz
  3. 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/
  4. Add to postgresql.conf:

    shared_preload_libraries = 'pgmqtt'
    wal_level = logical
    

    Some 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 run SELECT pg_reload_conf(); (no
    restart needed).

  5. 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.