From c300b0206c8897b1daffed4a07bf7518a6e4f39a Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 27 Sep 2024 07:43:13 +0200 Subject: [PATCH] Update bundled libpq version to postgres 17 --- .github/workflows/ci.yml | 2 -- pq-src/build.rs | 6 ++++-- pq-src/source | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 867638d..307f12d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -100,8 +100,6 @@ jobs: - name: Test compile diesel shell: bash - # allow to fail as diesel might not pull in the right feature yet - continue-on-error: true run: | cargo new test_diesel cd test_diesel diff --git a/pq-src/build.rs b/pq-src/build.rs index 591b929..654866d 100644 --- a/pq-src/build.rs +++ b/pq-src/build.rs @@ -25,9 +25,9 @@ const LIBPORTS_BASE: &[&str] = &[ "explicit_bzero.c", ]; -const LIBPORTS_LINUX: &[&str] = &["getpeereid.c", "thread.c"]; +const LIBPORTS_LINUX: &[&str] = &["getpeereid.c", "user.c"]; -const LIBPORTS_MACOS: &[&str] = &["thread.c"]; +const LIBPORTS_MACOS: &[&str] = &["user.c"]; const LIBPORTS_WINDOWS: &[&str] = &[ "getpeereid.c", @@ -46,6 +46,7 @@ const LIBPORTS_WINDOWS: &[&str] = &[ "win32security.c", "win32setlocale.c", "win32stat.c", + "win32gai_strerror.c", "open.c", "dirmod.c", "inet_aton.c", @@ -96,6 +97,7 @@ const LIBCOMMON_WINDOWS: &[&str] = &["wchar.c"]; const LIBPQ_BASE: &[&str] = &[ "fe-auth-scram.c", "fe-auth.c", + "fe-cancel.c", "fe-connect.c", "fe-exec.c", "fe-lobj.c", diff --git a/pq-src/source b/pq-src/source index b78fa85..d7ec59a 160000 --- a/pq-src/source +++ b/pq-src/source @@ -1 +1 @@ -Subproject commit b78fa8547d02fc72ace679fb4d5289dccdbfc781 +Subproject commit d7ec59a63d745ba74fba0e280bbf85dc6d1caa3e