# HG changeset patch # User Alain Mazy # Date 1764585458 -3600 # Node ID 6ae96abcc97ae86e734eb296b1df0a4740097224 # Parent 470c5b5c196f09c31adb9bced3b4b548c6d83fe9 revert to libpq 13.1 since 13.23 requires patching for VS2008 + 2015 diff -r 470c5b5c196f -r 6ae96abcc97a PostgreSQL/NEWS --- a/PostgreSQL/NEWS Sat Nov 29 16:09:41 2025 +0100 +++ b/PostgreSQL/NEWS Mon Dec 01 11:37:38 2025 +0100 @@ -31,8 +31,6 @@ * Added a new primary key column in the InvalidChildCounts and GlobalIntegersChanges tables. This new column is required for pg_repack to be able to reclaim space on these tables. -* Upgraded dependencies for static builds (notably on Windows and LSB): - - libpq 13.23 (replacing libpq 13.1) Release 9.0 (2025-08-13) diff -r 470c5b5c196f -r 6ae96abcc97a PostgreSQL/UnitTests/UnitTestsMain.cpp --- a/PostgreSQL/UnitTests/UnitTestsMain.cpp Sat Nov 29 16:09:41 2025 +0100 +++ b/PostgreSQL/UnitTests/UnitTestsMain.cpp Mon Dec 01 11:37:38 2025 +0100 @@ -38,7 +38,7 @@ TEST(PostgreSQL, Version) { - ASSERT_STREQ("18.1", PG_VERSION); + ASSERT_STREQ("13.1", PG_VERSION); } #endif diff -r 470c5b5c196f -r 6ae96abcc97a Resources/CMake/PostgreSQLConfiguration.cmake --- a/Resources/CMake/PostgreSQLConfiguration.cmake Sat Nov 29 16:09:41 2025 +0100 +++ b/Resources/CMake/PostgreSQLConfiguration.cmake Mon Dec 01 11:37:38 2025 +0100 @@ -49,8 +49,12 @@ add_definitions(-DORTHANC_POSTGRESQL_STATIC=1) SET(LIBPQ_MAJOR 13) - SET(LIBPQ_MINOR 23) - SET(LIBPQ_MD5SUM 86f7b1ace0dc43e993f29a6739a264d8) + SET(LIBPQ_MINOR 1) + SET(LIBPQ_MD5SUM 551302a823a1ab48b4ed14166beebba9) + # disabled 13.23: it fails building with VS2008, VS2015 + # SET(LIBPQ_MAJOR 13) + # SET(LIBPQ_MINOR 23) + # SET(LIBPQ_MD5SUM 86f7b1ace0dc43e993f29a6739a264d8) # disabled 18.1: it only builds on ubuntu but fails with VS2008, VS2015 and LSB # SET(LIBPQ_MAJOR 18) # SET(LIBPQ_MINOR 1)