From da36403fed16e486d25b88d65d0d5ef2752fa0e7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 17 Jun 2026 17:37:23 +0200 Subject: [PATCH] Increase version in ci --- .github/workflows/ci.yml | 2 +- README.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4953a8d..0156407 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - pg: [16, 15, 14, 13, 12, 11, 10, 9.6] + pg: [19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9.6] name: 🐘 PostgreSQL ${{ matrix.pg }} runs-on: ubuntu-latest container: pgxn/pgxn-tools diff --git a/README.md b/README.md index fbed3a7..b5dda87 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,34 @@ You can also run tests without installing postgres. ``` +### Running tests interactively + +First terminal: + +``` +docker stop pgx-test-v1 && docker rm pgx-test-v1 +docker run -it --name pgx-test-v1 --mount "type=bind,src=$(pwd),dst=/repo" pgxn/pgxn-tools bash +pg-start 12 +tail -f /var/log/postgresql/postgresql-12-test.log +``` + +Second terminal: + +``` +docker exec -it pgx-test-v1 bash +cd repo/ && make clean && make all PROFILE="-Werror" && sudo make install +make installcheck PGUSER=postgres +``` + + +## Troubleshooting + +If the latest version of postgres is not found, just run +``` +docker pull pgxn/pgxn-tools +``` + + ### Benchmarking Benchmarking is always tricky, I've tried to check against a real world example, in particular tweets.