New comment by rmboggs on void-packages repository https://github.com/void-linux/void-packages/issues/243#issuecomment-569153463 Comment: > The easiest way to get this done is to create new `postgres10`, `postgres11`, and `postgres12` packages which all conflict with each other. That's what [FreeBSD does](https://github.com/freebsd/freebsd-ports/blob/master/databases/postgresql12-server/Makefile#L18-L22) for example. My 2 cents if it matters: This makes sense, however, another approach to this could be similar to how the OpenBSD group deals with this. In that it has 2 ports, one for the current version and one for the previous version so that users could utilize pg_upgrade to migrate to the next major version if they wanted. Plus it would be less of a headache when postgresql versions reach the 20s. Just a thought...