[Bug 201796] Mk/bsd.default-versions.mk: Set PostgreSQL 9.4 as default

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 23 10:41:15 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201796

--- Comment #13 from Palle Girgensohn <girgen at FreeBSD.org> ---
(In reply to Torsten Zühlsdorff from comment #12)

Vi had a discussion about this within the pgsql@ team, and one way might be to
extract libpq to a separate port, och make USES=pgsql just pull in that
dependency. That would always be the latest version, since libpq is very
stable, it rarely changes at all. Then we could install the rest of
postgresqlNN-client and postgresqlNN-server in it's own
(lib|share|include)/postgresqlNN directories, and use some kind of meta-port to
symlink to the preferred version.

It would mean we could install several postgresql versions in parallel. This is
a complex task though, and it might not even be completely possible without too
much intrusive changes to postgresql. I will discuss this with some other
packagers first. So this should probably be regarded as a possible long term
solution at best.

We do however need some way of helping users to get two different versions of
postgresql binaries in just for the sake of facilitating an upgrade running
pg_upgrade. The most simple way would probably be a separate port, but that
woud be a bit weird.

Other ideas?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list