Bug 224710

Summary: databases/postgresql10-server: please make parallel installation of multiple versions possible
Product: Ports & Packages Reporter: Martin Birgmeier <d8zNeCFG>
Component: Individual Port(s)Assignee: pgsql
Status: New ---    
Severity: Affects Only Me CC: 0mp, phil
Priority: --- Keywords: feature
Version: LatestFlags: bugzilla: maintainer-feedback? (pgsql)
Hardware: Any   
OS: Any   

Description Martin Birgmeier 2017-12-29 17:23:57 UTC
This is actually an enhancement request, not a bug report.

It would be beneficial to be able to run multiple Postgres versions in parallel (see for example https://www.postgresql.org/docs/10/static/pgupgrade.html). Therefore, would it be possible to change all the Postgres ports to install into their separate directories, e.g., /usr/local/postgresql10, /usr/local/postgresql96, etc.? Similar to how openjdk{6,7,8} does it. Plus create a wrapper/switcher script, also similar to openjdk.

-- Martin