This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 4ba342c8e5 test(c/driver/postgresql): test PostgreSQL 19, drop 14 
(#5057)
4ba342c8e5 is described below

commit 4ba342c8e5bc76ea64cae4994844e01cdbd147dc
Author: David Li <[email protected]>
AuthorDate: Tue Nov 24 17:19:30 2026 -0800

    test(c/driver/postgresql): test PostgreSQL 19, drop 14 (#5057)
    
    Assisted-by: GPT-6.2 Sol
---
 .github/workflows/integration.yml                  |  8 ++++----
 .github/workflows/java.yml                         |  3 ++-
 c/driver/postgresql/validation/tests/postgresql.py | 10 ++++++----
 docs/source/driver/postgresql.rst                  |  2 +-
 4 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/integration.yml 
b/.github/workflows/integration.yml
index 107aa0b1e5..d324a5b8c1 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -290,7 +290,7 @@ jobs:
           path: postgresql-build.tgz
 
   postgresql-test:
-    name: "PostgreSQL (14-18)"
+    name: "PostgreSQL (15-19)"
     needs: postgresql-build
     runs-on: ubuntu-latest
     steps:
@@ -334,7 +334,7 @@ jobs:
         run: |
           tar --extract --gzip --file postgresql-build.tgz
           echo 
"PYTHONPATH=$(pwd)/python/adbc_driver_manager:$(pwd)/python/adbc_driver_postgresql"
 >> "$GITHUB_ENV"
-      - name: Run PostgreSQL 14-18 tests
+      - name: Run PostgreSQL 15-19 tests
         env:
           ADBC_POSTGRESQL_TEST_URI: 
postgresql://localhost:5432/postgres?user=postgres&password=password
           ADBC_USE_ASAN: "ON"
@@ -342,14 +342,14 @@ jobs:
           BUILD_ALL: "0"
           BUILD_DRIVER_POSTGRESQL: "1"
         run: |
-          for postgres_version in 14 15 16 17 18; do
+          for postgres_version in 15 16 17 18 19; do
             echo "::group::PostgreSQL $postgres_version"
             export POSTGRES_VERSION="$postgres_version"
             docker compose up --wait --detach postgres-test
             ./ci/scripts/cpp_test.sh "$(pwd)/build"
             env PYTEST_ADDOPTS=--error-for-skips \
               ./ci/scripts/python_test.sh "$(pwd)" "$(pwd)/build"
-            if [ "$postgres_version" = "18" ]; then
+            if [ "$postgres_version" = "19" ]; then
               uv --project=./c/driver/postgresql/validation/ run \
                 ci/scripts/validate.sh "$(pwd)" --vendor postgresql
               env POSTGRES_TYPE_RESOLVER_MODE=builtin \
diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml
index 937a0da132..4531e08fff 100644
--- a/.github/workflows/java.yml
+++ b/.github/workflows/java.yml
@@ -333,13 +333,14 @@ jobs:
       - name: Install Dependencies
         if: matrix.os == 'macOS'
         env:
-          POSTGRESQL_VERSION: 18
+          POSTGRESQL_VERSION: 19
         run: |
           export HOMEBREW_GITHUB_ACTIONS=1
           export HOMEBREW_NO_ENV_HINTS=1
           export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
           export HOMEBREW_NO_INSTALL_CLEANUP=1
           export HOMEBREW_NO_INSTALL_UPGRADE=1
+          brew update
           brew install --quiet postgresql@${POSTGRESQL_VERSION}
           brew link --quiet --overwrite postgresql@${POSTGRESQL_VERSION}
 
diff --git a/c/driver/postgresql/validation/tests/postgresql.py 
b/c/driver/postgresql/validation/tests/postgresql.py
index c29385c79c..9b2ff68d08 100644
--- a/c/driver/postgresql/validation/tests/postgresql.py
+++ b/c/driver/postgresql/validation/tests/postgresql.py
@@ -38,8 +38,8 @@ class PostgreSQLQuirks(model.DriverQuirks):
     driver = "adbc_driver_postgresql"
     driver_name = "ADBC PostgreSQL Driver"
     vendor_name = "PostgreSQL"
-    vendor_version = re.compile(r"18[0-9]{4}")
-    short_version = "18"
+    vendor_version = re.compile(r"19[0-9]{4}")
+    short_version = "19"
     features = model.DriverFeatures(
         connection_get_table_schema=True,
         connection_transactions=True,
@@ -243,11 +243,13 @@ class MaterializeQuirks(PostgreSQLQuirks):
 
 
 class ParadeDBQuirks(PostgreSQLQuirks):
-    pass
+    vendor_version = re.compile(r"18[0-9]{4}")
+    short_version = "18"
 
 
 class TimescaleDBQuirks(PostgreSQLQuirks):
-    pass
+    vendor_version = re.compile(r"18[0-9]{4}")
+    short_version = "18"
 
 
 class YugabyteDBQuirks(PostgreSQLQuirks):
diff --git a/docs/source/driver/postgresql.rst 
b/docs/source/driver/postgresql.rst
index 832373b17b..82f2209361 100644
--- a/docs/source/driver/postgresql.rst
+++ b/docs/source/driver/postgresql.rst
@@ -370,7 +370,7 @@ version of libpq in your Conda environment.
 The PostgreSQL driver is tested against the following DBMSes, which all use
 the PostgreSQL wire protocol:
 
-- PostgreSQL (version 14 through 18)
+- PostgreSQL (version 15 through 19)
 - Citus
 - CockroachDB
 - CrateDB

Reply via email to