Repository navigation
PGEXT 1.8.0
PGEXT 1.8 introduces native commands for bilingual documentation and GitHub
metadata, consolidates builder repository management, and moves the public
Hugo catalog to its own checkout. The embedded Go web app and JSON API still
ship with the CLI.
Upgrade
pgext env repois an alias forpgext repo set. Usepgext repo list,
add,rm,status, andupdatefor individual actions. On an existing
builder, preview migration withpgext repo set pgdg pigsty --replace --plan.
The migration backs up conflicting PGDG and Pigsty definitions and preserves
unrelated sources. PGDG APT defaults to HTTPS, and both suppliers use
bundled signing keys for APT and RPM.pgext doc load --dry-runvalidates the complete bilingual corpus in a
rolled-back transaction. Usepgext doc loadto apply it andpgext doc dump
to export. Thebin/load-stubandbin/dump-stubwrappers default to their
own source checkout.pgext gen lint --pairchecks bilingual stub pairs.pgext sync githubrefreshes the repository cache by default. Add
--backfillto apply metrics from repositories successfully fetched in the
current run. A cache-only backfill requires--backfill-only --refresh-after
with an RFC 3339 timestamp.- Scripts using
pgext env proxyshould configure the build environment's
HTTP_PROXYandHTTPS_PROXYdirectly. pgext gen sitewrites the Hugo catalog to the
pgext.cloud site checkout. Use
-DorPGEXT_SITE_DIRto set the destination.
API and build fixes
- Matrix, file, and changelog responses identify the requested extension
even when it shares a package with another extension. The web app keeps
the global matrix in memory and derives it from the live package tables. - The extension API uses the Universe field names. Migrate
stateto
packaged,sourcetotarball,ext_typetokind,ext_kernelto
kernel,ext_vendortovendor,require_bytorequired_by, and
last_updatetolast_active. Usestars,watchers, andforksfor
activity counts, and the top-level URL fields for links formerly in
doc_links. - RPM builds stage and fingerprint the spec's local inputs, including
PDU's PostgreSQL license file. - The bundled catalog contains 2,844 extensions, including 628 in the
packaged catalog.
Optional legacy matrix cleanup
Fresh PGEXT databases omit the legacy pgext.matrix materialized view.
Existing standalone databases can upgrade in place. The CLI, server, and
site generator use pgext.pkg, and the upgrade leaves existing database
objects in place.
After confirming the database identity and checking for direct SQL readers,
back up the view definition before running the
optional cleanup SQL from the source checkout.
pg_dump --schema-only --strict-names --table=pgext.matrix "$PGURL" > pgext-matrix-before-1.8.sql
psql "$PGURL" -X -v ON_ERROR_STOP=1 -f db/drop-legacy-matrix.sqlThe script uses a short lock timeout and rejects dependent objects.
For rollback, restore the saved definition and refresh the materialized view.
Keep the view on databases that participate in PG.CENTER's complete native
PGEXT snapshots, which require the relation on the source and destination.