Note other changes needed to be made for this:
- Add new postgres16, it's misnamed as moment, cause it doesn't have
postgis yet
- Change postgresql_postgis.sh to:
- Use trusted instead of apt-key which is deprecated
- Added a condition to postgresql_postgis.sh to skip PostGIS
install if no PostGIS version is specified
Since PostGIS is not yet available in
apt.postgresql.org repo for PG16
- Use pgdg-snapshot instead of main
repo except for PG12
(it has all stable branches and main)
- For PG12, jsut continue to use main repo,
since PostGIS 2.5 is not carried in snapshot