Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Feb 16, 2025

Postgresql's apt repository has slightly changed the setup rules for its postgres packages in Thursday's release: normally the package would automatically set up and start a database, if not exists for the version installed. The new behaviour seems to be to only set up the database if there is no Postgresql database set up at all. This new behaviour makes perfect sense, but breaks CI runs which so far have kept the already installed postgres from the default version around. The version we actually want to test against is not installed anymore. The fix is to purge the default version instead of just removing it.

The PR also switches to the Debian-supplied way of setting up the PostgreSQL apt repository and removes some code for a clang version which has long fallen out of support.

apt won't set up a database for the differently installed postgresql
otherwise
@joto joto merged commit bb355b9 into osm2pgsql-dev:master Feb 16, 2025
24 checks passed
@lonvia lonvia deleted the ci-postgresql branch February 16, 2025 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants