citus/.devcontainer
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
..
.vscode Devcontainer: enable coredumps (#7523) 2024-02-23 13:38:11 +00:00
pgenv/config Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
src/test/regress Bump black from 24.2.0 to 24.3.0 in /.devcontainer/src/test/regress (#8068) 2025-07-22 18:30:20 +03:00
.gdbinit automatically add a breakpoint that breaks on postgres errors (#7279) 2023-10-27 16:57:51 +02:00
.gitignore Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
.psqlrc Add Debugging Instructions to Devcontainer Setup in CONTRIBUTING.md (#7673) 2024-08-23 12:16:18 +03:00
Dockerfile Adds Citus compatibility with PG18.1 (#8065) 2025-12-17 09:51:19 +03:00
Makefile Add devcontainer for development purposes (#7102) 2023-10-09 15:37:21 +02:00
devcontainer.json PG18 - Enable NUMA syscalls in CI containers to fix PG18 numa.out regression test failures (#8258) 2025-10-27 21:00:32 +03:00
requirements.txt Bump black from 23.11.0 to 24.3.0 in /.devcontainer (#8075) 2025-07-25 17:54:28 +03:00