Skip to content

Add support for Postgresql 18 - #617

Closed
paulschreiber wants to merge 8 commits into
ANXS:masterfrom
paulschreiber:fix/postgresql-18
Closed

paulschreiber wants to merge 8 commits into
ANXS:masterfrom
paulschreiber:fix/postgresql-18

Conversation

@paulschreiber

Copy link
Copy Markdown

Description

Add support for Postgresql 18. Configuration changes generated with assistance from Claude.

Fixes #616

* update Compatibility matrix
* update postgresql_version in “variables”
added postgres 17 and 18. had not been updated for 17.
* update postgresql_version
* update postgis compaitbility list
* add new configuration variables
@github-actions

Copy link
Copy Markdown

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@pulse-mind

Copy link
Copy Markdown
Contributor

Hi, thanks a lot for the work on this PR. It was a useful starting point for PostgreSQL 18 support.

I've opened #619, which adds PostgreSQL 18 support and fixes a few issues I found while testing this one:

  • templates/postgresql.conf-18.j2 still renders extension_destdir. The Debian patch that provided this setting was dropped in PostgreSQL 18, so the server doesn't start: FATAL: unrecognized configuration parameter "extension_destdir".
  • The default postgresql_version is bumped to 18. On existing deployments, the next run of the role would install a new major version and create a second, empty cluster next to the current one. Add PostgreSQL 18 support (and drop EOL Debian 11 to fix CI) #619 keeps 17 as the default.
  • The CI never ran on this PR, and it would have been red anyway. Debian 11 is EOL and bullseye-pgdg is gone from apt.postgresql.org, so the debian11 job fails and fail-fast cancels all the other jobs. Add PostgreSQL 18 support (and drop EOL Debian 11 to fix CI) #619 drops Debian 11 so that CI is green again.

#619 is tested with Molecule on Debian 12/13 and Ubuntu 22.04/24.04 (PostgreSQL 13 to 18, idempotence included). The template is also validated against PostgreSQL 18.0 and 18.7 binaries.

If that works for you, this PR could be closed in favour of #619. Thanks again for pushing PostgreSQL 18 support forward!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PostgreSQL 18 support

2 participants