changeset 777:565c1cf76b28

back to libpq 13.23
author Alain Mazy <am@orthanc.team>
date Sat, 29 Nov 2025 12:40:16 +0100
parents fbe0c295f8ce
children 470c5b5c196f
files PostgreSQL/NEWS Resources/CMake/PostgreSQLConfiguration.cmake
diffstat 2 files changed, 7 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/PostgreSQL/NEWS	Sat Nov 29 12:06:59 2025 +0100
+++ b/PostgreSQL/NEWS	Sat Nov 29 12:40:16 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 18.1 (replacing libpq 13.1 - except for macOS universal binaries that still uses 13.1)
 
 
 Release 9.0 (2025-08-13)
--- a/Resources/CMake/PostgreSQLConfiguration.cmake	Sat Nov 29 12:06:59 2025 +0100
+++ b/Resources/CMake/PostgreSQLConfiguration.cmake	Sat Nov 29 12:40:16 2025 +0100
@@ -48,15 +48,13 @@
 if (STATIC_BUILD OR NOT USE_SYSTEM_LIBPQ)
   add_definitions(-DORTHANC_POSTGRESQL_STATIC=1)
 
-  if (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
-    SET(LIBPQ_MAJOR 13)
-    SET(LIBPQ_MINOR 23)
-    SET(LIBPQ_MD5SUM 86f7b1ace0dc43e993f29a6739a264d8)
-  else()
-    SET(LIBPQ_MAJOR 18)
-    SET(LIBPQ_MINOR 1)
-    SET(LIBPQ_MD5SUM 523b5e7f7f64d331004fd93d37109aa0)
-  endif()
+  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)
+  # SET(LIBPQ_MD5SUM 523b5e7f7f64d331004fd93d37109aa0)
 
   SET(LIBPQ_VERSION ${LIBPQ_MAJOR}.${LIBPQ_MINOR})