Repository navigation
Version 3.1.1
Adds support for PostgreSQL 19. PostgreSQL 16, 17 and 18 are still supported and use the same code as in 3.1.0.
There's no on-disk format change and no SQL-level change, and no REINDEX is needed. Behaviour is the same as 3.1.0 on every supported version.
What's changed
- PostgreSQL 19 support. PG 19 removed two internal APIs that Biscuit used. Both are now handled at compile time:
- Collation provider for
~*. PG 19 removedpg_locale_struct.provider. On PG 19 the ICU check now reads the provider frompg_collationinstead, or frompg_databasefor the default collation. It makes the same decision as before. - Unlogged-index checksum.
PageSetChecksumInplace()is gone in PG 19, soambuildempty()usesPageSetChecksum()there instead.
- Collation provider for
make testno longer runs the crash-recovery test. Run by a superuser,make testincluded09_wal, which force-stops and restarts the server. It now skips that test, as the docs always said. To run it, usemake test-allormake check-wal.- The test runner looks for the server in
/var/run/postgresqlby default. That's where the Debian/Ubuntu and PGDG packages put the socket. If you built PostgreSQL from source, it's usually in/tmp, so runPGHOST=/tmp make test.
Upgrading
From 3.1.0, install the new shared library, then run:
ALTER EXTENSION biscuit UPDATE TO '3.1.1';The update only records the new version number; it doesn't change any objects. Existing connections keep the old library loaded, so restart the server or reconnect to load the new one.
You can upgrade from 3.0.0 directly with ALTER EXTENSION biscuit UPDATE. Upgrading from 2.x still means installing 3.0.0 first and running REINDEX. See the 3.0.0 notes in the changelog.
Install
pgxn install biscuit
# or from source
make && sudo make install # add WITH_ROARING=1 to build with CRoaringFull changelog: CHANGELOG.md