citus/.github
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
..
actions Remove Code Climate coverage upload steps from GitHub Actions workflow (#8182) 2025-09-15 13:53:35 +03:00
packaging Removes unnecessary package installations in packaging pipelines (#7341) 2023-11-17 08:51:56 +03:00
workflows Adds Citus compatibility with PG18.1 (#8065) 2025-12-17 09:51:19 +03:00
pull_request_template.md Add DESCRIPTION to PR template 2018-12-12 05:35:12 +01:00