I’m thinking about how to add support for reserved extensions. These are extensions that one needs to depend on, but aren’t distributed via PGXN. Primarily, this means stuff distributed with the PostgreSQL core, including:
Basically, anything that an extension might want to declare as a dependency, but that isn’t on PGXN itself.
There are a number of ways to do this. Which do you think would be the best approach?
- Hard-code a list into the source code
- Include an editable list in the runtime configuration file
- Add a database table reserved for them and an API to edit it
- Create a “pgdev” user and upload a distribution declaring all those extensions in a
- Same as 4, but actually upload the PostgreSQL source
I’m leaning towards #2, perhaps having it automatically maintain a list in the database and a metdata file on the mirrors.
But what do you think? Opinions wanted!