You are not logged in.
Hi all!
I was wondering what the best way to enforce a dependency on postgresql's contrib tree for a package. I noticed that there is no longer a postgresql-contrib package in the AUR as far as I've looked, so I was wondering if there was some standard way of dealing with this issue. If not then if anyone could package up postgresql-contrib that would simplify my life and my user's lives as well.
Thanks for the help!!!
Last edited by FayeAleph (2020-05-11 17:36:13)
Offline
AFAIK, `postgresql-contrib` is part of `postgresql`, so your package should depend on `postgresql`
Offline
You can readily confirm the above with pacman, especially if you specify exactly what tools from postgresql-contrib you need. Just taking a few random ones from the files list from an rpm of postgresql-contrib:
$ pacman -F oid2name
extra/postgresql 12.2-3
usr/bin/oid2name
extra/postgresql-old-upgrade 11.7-2
opt/pgsql-11/bin/oid2name
$ pacman -F pgbench
extra/postgresql 12.2-3
usr/bin/pgbench
extra/postgresql-old-upgrade 11.7-2
opt/pgsql-11/bin/pgbench
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
That's great! I looked through the postgresql package itself to see the contrib specific things but just couldn't confirm it for sure.
Thanks so much!
Offline