Two bits of news on the “PGXN v2” project.
PGXN RFCs: The Book
First, I’ve moved the RFC process (again, sorry) from PGXN Discussions, which were a bit fussy about Markdown formatting and don’t support inline comments, to the PGXN RFCs project, where use of pull requests on CommonMark Markdown documents address these issues. This process borrows heavily from the Rust RFCs project, right down to publishing accepted RFCs as a “book” site.
So I’d also like to introduce rfcs.pgxn.org, a.k.a., the PGXN RFCs Book.
It currently houses only one RFC: Meta Spec v1, dating from 2010. This document defines the structure of the META.json
file required in archives published on PGXN.
But I expect many more RFCs to be drafted in the coming years, starting with draft RFC–2, the binary distribution RFC I POCed a few weeks ago. There has already been some great feedback in that pull request, in addition to the previous discussion. More eyes will make it even better.
PGXN Meta Spec v2 RFC
Last week I also iterated on the PGXN Metadata Sketch several times to produce draft RFC–3: Meta Spec v2. This represents a major reworking of the original spec in an attempt to meet the following goals:
- Allow more comprehensive dependency specification, to enable packagers to identify and install system dependencies and dependencies from other packaging systems, like PyPI and CPAN
- Adopt more industry-standard formats like SPDX License Expressions and purls.
- Improve support multiple types of Postgres extensions, including apps,
LOAD
able modules, background workers, and TLEs. - Improve curation and evaluation via categories, badging, and additional download links.
There’s a lot here, but hope the result can better serve the community for the next decade, and enable lots of new services and features.
The proof will be in the applicatio