Bugzilla – Bug 1221938
BCI PostgreSQL Image is too basic
Last modified: 2024-04-02 13:19:54 UTC
The current BCI PostgreSQL images contain only the bare server, so for many deployment situations custom derived images have to be defined. It would be nice to serve a more useful set out of the box based on size vs functionality trade-offs. (1) contrib is necessary for btree_gist and trigram indices (2) plperl/plpython/pltcl provide the extension languages as alternatives to plpgsql (3) llvmjit can speedup large computation queries a lot plperl and plpython are almost free with the dependencies of contrib. llvmjit needs newer LLVM for BCI?
Currently SLE BCI is defined to be a subset of SLES, so for (3) I understand that this functionality is also not avaiable on SLES without containers? Adding rmax to confirm. we can easily add -contrib into the container except that it has quite hefty size implications (pulls in python and perl interpreter and adds > 70 MB). I am generally fine with that as people who run databases also need storage for data so it shouldn't be a massive concern. for (2) I'm less certain what you're referring to. what would need to be done to enable that? do you hhave an example dockerfile that you use to build "your" container?
Most PostgreSQL instances I'm using are server+contrib. plperl and plpython are almost free as the heavy dependencies are pulled in by contrib already, but I don't have a large stake in that. So far I'm using only PL/PGSQL for stored procedures and triggers.