From bf791a38e1a022ec40c0b556e2f7ea6ed2e5c24c Mon Sep 17 00:00:00 2001 From: Ronald Bradford Date: Mon, 1 Jun 2026 12:08:30 -0400 Subject: [PATCH 1/2] add libpq5 to unpack, required to get all versions 12-18 to operate correctly --- .github/workflows/integration_tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index 5ce9df91..9b735a3d 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -537,9 +537,9 @@ jobs: # Documented user flow: download the debs, then unpack via dbdeployer. export HOME="$GITHUB_WORKSPACE/home" mkdir -p "$HOME" - apt-get download postgresql-16 postgresql-client-16 + apt-get download postgresql-16 postgresql-client-16 libpq5 ./dbdeployer unpack --provider=postgresql \ - postgresql-16_*.deb postgresql-client-16_*.deb + postgresql-16_*.deb postgresql-client-16_*.deb libpq5_*.deb # Sanity: confirm no system PG install snuck in via dependencies. if [ -d "/usr/share/postgresql/16" ]; then @@ -607,12 +607,13 @@ jobs: sudo apt-get install -y libpq5 # Documented user flow from README: - # apt-get download postgresql-NN postgresql-client-NN + # apt-get download postgresql-NN postgresql-client-NN libpq5 # dbdeployer unpack --provider=postgresql ... - apt-get download postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} + apt-get download postgresql-${PG_VERSION} postgresql-client-${PG_VERSION} libpq5 ./dbdeployer unpack --provider=postgresql \ postgresql-${PG_VERSION}_*.deb \ - postgresql-client-${PG_VERSION}_*.deb + postgresql-client-${PG_VERSION}_*.deb \ + libpq5_*.deb ls ~/opt/postgresql/ # Sanity: confirm we did NOT install postgresql-server side-effects. From 978512705c7bf390489c2cee8ca907063f4cf478 Mon Sep 17 00:00:00 2001 From: Ronald Bradford Date: Mon, 1 Jun 2026 12:12:53 -0400 Subject: [PATCH 2/2] Also added libpq dependency to unpack in integration tests --- .github/workflows/proxysql_integration_tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/proxysql_integration_tests.yml b/.github/workflows/proxysql_integration_tests.yml index 500c531e..cfb7bd04 100644 --- a/.github/workflows/proxysql_integration_tests.yml +++ b/.github/workflows/proxysql_integration_tests.yml @@ -410,9 +410,9 @@ jobs: sudo apt-get install -y libpq5 # Documented user flow: download the debs, then unpack via dbdeployer. - apt-get download postgresql-16 postgresql-client-16 + apt-get download postgresql-16 postgresql-client-16 libpq5 ./dbdeployer unpack --provider=postgresql \ - postgresql-16_*.deb postgresql-client-16_*.deb + postgresql-16_*.deb postgresql-client-16_*.deb libpq5_*.deb ls ~/opt/postgresql/ # Sanity: confirm no system PG install snuck in via dependencies.