mirror of https://github.com/citusdata/citus.git
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> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| pgenv/config | ||
| src/test/regress | ||
| .gdbinit | ||
| .gitignore | ||
| .psqlrc | ||
| Dockerfile | ||
| Makefile | ||
| devcontainer.json | ||
| requirements.txt | ||