Re: RFC: Extension Packaging & Lookup

David E. Wheeler <david@justatheory.com>

From: "David E. Wheeler" <david@justatheory.com>
To: Tristan Partin <tristan@partin.io>
Cc: Christoph Berg <myon@debian.org>, Paul Ramsey <pramsey@cleverelephant.ca>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>, Peter Eisentraut <peter@eisentraut.org>, Andres Freund <andres@anarazel.de>
Date: 2024-10-29T17:47:33Z
Lists: pgsql-hackers
On Oct 29, 2024, at 13:40, Tristan Partin <tristan@partin.io> wrote:

> The backend would create the packages and publish them to the various repositories. We would probably need to come up with a dependency manifest that listed both build and runtime dependencies.
> 
> This would need some massaging, and has various caveats like require using a well-known build system like PGXS or meson. There are probably security implications that need to be worked through. The packaging team could maybe have some burden lifted off their shoulders.
> 
> Is that something people would be interested in? As someone who writes software, I largely find reaching the distribution channels is always the hardest part.

Yes, I’m hoping to provide the infrastructure to enable a pattern like this as part of the PGXN v2 project. Some details from the Architecture doc[1].

However, I think this is a bit off-topic for this thread, where I’d like to try to account for issues to be addressed by the proposed extension directory structure and search path.

Best,

David

[1]: https://wiki.postgresql.org/wiki/PGXN_v2/Architecture#Packaging