Thanks to visit codestin.com
Credit goes to justatheory.com

Just a Theory

By David E. Wheeler

Posts about GitHub Workflow

🛠️ PGXN Tools v1.7

Today I released v1.7.0 of the pgxn-tools OCI image, which simplifies Postgres extension testing and PGXN distribution. The new version includes just a few updates and improvements:

  • Upgraded the Debian base image from Bookworm to Trixie
  • Set the PGUSER environment variable to postgres in the Dockerfile, removing the need for users to remember to do it.
  • Updated pg-build-test to set MAKEFLAGS="-j $(nprocs)" to shorten build runtimes.
  • Also updated pgrx-build-test to pass -j $(nprocs), for the same reason.
  • Upgraded the pgrx test extension to v0.16.1 and test it on Postgres versions 13-16.

Just a security and quality of coding life release. Ideally existing workflows will continue to work as they always have.

PGXN Tools v1.4

Over on the PGXN Blog I’ve posted a brief update on recent bug fixes and improvements to the pgxn-tools Docker image, which is used fairly widely these days to test, bundle, and release Postgres extensions to PGXN. This fix is especially important for Git repositories:

v1.4.1 fixes an issue where git archive was never actually used to build a release zip archive. This changed at some point without noticing due to the introduction of the safe.directory configuration in recent versions of Git. Inside the container the directory was never trusted, and the pgxn-bundle command caught the error, decided it wasn’t working with a Git repository, and used the zip command, instead.

I also posted a gist listing PGXN distributions with a .git directory.