Skip to content

plx 1.2.1

Choose a tag to compare

@jdatcmd jdatcmd released this 15 Jul 21:19

A code-only patch release: plx now builds on PostgreSQL 19 and 20.

Fixed

  • Build on PostgreSQL 19 and 20 with a C23 toolchain (for example gcc 15). There, PostgreSQL defines pg_noreturn as the standard [[noreturn]] attribute, whose placement is strict. plx wrote it after the storage class (static pg_noreturn void ...), which C23 rejects, so plx did not compile on 19/20. It is now the first token of each declaration (pg_noreturn static void ...), matching PostgreSQL's own convention, and still compiles on 13 through 18.

The full 13-suite regression passes on PostgreSQL 13 through 18, plus 19beta2 and 20devel built from source. No catalog changes: the only change is in the loadable module.

Upgrade

Install the new module (make && make install), then:

ALTER EXTENSION plx UPDATE TO '1.2.1';

A fresh CREATE EXTENSION plx lands on 1.2.1 directly. The PGXN distribution zip (plx-1.2.1.zip) is attached.

See CHANGELOG.md.