New comment by oranenj on void-packages repository https://github.com/void-linux/void-packages/pull/18121#issuecomment-633024309 Comment: Just drive-by commenting here but FWIW, the upstream "PGDG" packages for eg. CentOS do separate packages for each major version and install files under /usr/pgsql-$MAJOR/ along with providing alternatives configuration that set up symlinks to the various binaries and manual pages under standard paths. The alternatives probably can't be set up on a machine where postgresql 9.6 is also installed unless you provide an update that moves the files, but it might make sense to keep things in line with upstream for future versions.