citus/.github/workflows
Mehmet YILMAZ f8d36f79d7
Adds Citus compatibility with PG18.1 (#8065)
Adds Citus compatibility with PostgreSQL 18.1 by wiring PG18 into the
devcontainer, configure checks, and CI matrices.

### Summary

- Build PostgreSQL 18.1 in the devcontainer image via `pgenv` and stage
its artifacts alongside existing PG16–PG17 installs.
- Switch the default devcontainer PostgreSQL version to 18.1 so local
developer workflows exercise PG18 by default.
- Extend `configure` / `configure.ac` version checks to treat PostgreSQL
18 as a supported server version.
- Update GitHub Actions `build_and_test.yml` to:
  - Define a `pg18_version` entry (`major: 18`, `full: 18.1`).
- Add PG18 to all relevant test matrices (check-split, check-multi,
regress, enterprise, pytest, CDC installcheck, and query-generator).
- Include upgrade paths to PG18 (16→18, 17→18) in the upgrade-test
matrix.
  - Run the flakiness job against the PG18 fail-tester image.
- Update `packaging-test-pipelines.yml` so the supported PG version list
is derived more robustly from `build_and_test.yml` (no assumptions about
version suffixes).
- Extend `src/test/regress/citus_tests/common.py` with the
OLDEST_SUPPORTED_CITUS_VERSION mapping for PG18 to keep upgrade tests
working.

### Testing

- Devcontainer image builds successfully and `pgenv switch 18.1` works
inside the container.
- GitHub Actions:
- `build_and_test.yml` matrix includes the new PG18 jobs and they
complete successfully.
- `packaging-test-pipelines.yml` still discovers the expected set of
PostgreSQL versions.

---------

Co-authored-by: Colm <colm.mchugh@gmail.com>
Co-authored-by: naisila <nicypp@gmail.com>
Co-authored-by: Naisila Puka <37271756+naisila@users.noreply.github.com>
2025-12-17 09:51:19 +03:00
..
build_and_test.yml Adds Citus compatibility with PG18.1 (#8065) 2025-12-17 09:51:19 +03:00
codeql.yml pin PostgreSQL server development package version to 17 (#8286) 2025-10-21 11:32:32 +03:00
devcontainer.yml Fix dockerfile to remove pg14 and include pg17 2025-03-13 15:15:27 +03:00
flaky_test_debugging.yml Drops PG15 support (#8372) 2025-12-15 14:38:51 +03:00
packaging-test-pipelines.yml Adds Citus compatibility with PG18.1 (#8065) 2025-12-17 09:51:19 +03:00