Open IvanShift opened 1 year ago
Sounds interesting, thanks. This will come in handy as soon as Ubuntu releases a new LTS with PostgreSQL 15 and there is a new Nominatim version, since we don't do PostgreSQL upgrades in our container without a new release.
Nominatim 4.2 has already supported PostgreSQL 15: https://github.com/osm-search/Nominatim/blob/master/ChangeLog
It's not like we don't want to use PG 15, btw. We just don't want to take on the extra maintenance burden of using a version that isn't in the default repos of our base image.
Hello! Ubuntu 23.04 is out: https://www.omgubuntu.co.uk/2023/03/ubuntu-23-04-features It has postgresql-15 in the repository Can you update PostgreSQL from 14 to 15 ?
@IvanShift - There is a Docker Nominatim project we have started that might be of interest. n7m is a Numeronym for Nominatim. The project supports connecting the Nominatin App to a Postgres database running in a different container.
This branch supports Postgres 15: https://github.com/smithmicro/n7m/tree/feature/psql15
This is where Postgres 15 is specified: https://github.com/smithmicro/n7m/blob/0bcd719b753bb404270288077fec16b1b331bff8/gis/Dockerfile#L1
FYI: Ubuntu 24.04 LTS will be released shortly and includes PostgreSQL 16 in its packages.
root@620dbdd4c7c9:/# apt info postgresql-16
Package: postgresql-16
Version: 16.2-1ubuntu4
With the next major Nominatim update (e.g., 4.5 or 5.x), we also aim to switch to Ubuntu 24.04 LTS, therefore running PG16. Version 4.4.x will stay on 22.04 for now.
Hello! PostgreSQL v15 significantly speeds up the most common operations:
I suppose it will be useful.