~/talk

Adventures in Extension Packaging

Talkat PGConf.dev 2025 · 2025-05-13..05-16· [databases]
links:none on file
slides:none on file

PGXN v2 prototypes a binary distribution: a trunk package format bundled into OCI image index artifacts, with a CLI that pulls the correct image for OS/PG version. A prototype builds Darwin ARM64 and Linux AMD64 trunks, pushes them to a registry and installs them successfully. Scaling reveals concrete blockers: 238+ extensions required manual fixes, libc incompatibilities between Ubuntu 22/24, PGRX version collisions, inconsistent CMake pipelines, and dependency oddities (DuckDB, libcurl). Runpath bundling partly works; image-volume immutability forces design tradeoffs.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:56PGXN overview and limitations
  3. 4:48Vision for PGXN version 2
  4. 8:18Metaspec v2 and binary packaging
  5. 15:01Trunk package format proposal
  6. 24:08Challenges in automated packaging
  7. 32:57Cloud-native Postgres extensions
  8. 37:11Extension search path proposal
  9. 41:04Handling dependencies in packaging
  10. 46:26Run path and dependency resolution
  11. 48:35Future work and call to action
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.