Skip to content

Commit 9c1a5bd

Browse files
authored
Merge pull request #351 from Mytherin/upgradepostgres
Upgrade Postgres to v15.13
2 parents bce0b33 + 802e421 commit 9c1a5bd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ if(WIN32)
9393
postgres/src/port/open.c
9494
postgres/src/port/pgsleep.c
9595
postgres/src/port/system.c
96+
postgres/src/port/dirmod.c
97+
postgres/src/port/win32common.c
9698
postgres/src/port/win32error.c
9799
postgres/src/port/win32ntdll.c
98100
postgres/src/port/win32setlocale.c
@@ -120,10 +122,10 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/postgres)
120122
message(STATUS "Downloading PostgreSQL source code")
121123
file(
122124
DOWNLOAD
123-
"https://github.com/postgres/postgres/archive/refs/tags/REL_15_2.tar.gz"
125+
"https://github.com/postgres/postgres/archive/refs/tags/REL_15_13.tar.gz"
124126
${CMAKE_CURRENT_SOURCE_DIR}/pg.tar.gz
125127
SHOW_PROGRESS
126-
EXPECTED_MD5 615ef3fa75d19c46d2dafd6c66ddb5f6
128+
EXPECTED_MD5 106c54e53aca9395354a251eeea914c0
127129
STATUS PG_DOWNLOAD_RESULT)
128130

129131
if(NOT PG_DOWNLOAD_RESULT EQUAL 0)
@@ -137,7 +139,7 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/postgres)
137139
${CMAKE_CURRENT_SOURCE_DIR}/postgres_tmp)
138140

139141
# Move out of root directory
140-
file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/postgres_tmp/postgres-REL_15_2
142+
file(RENAME ${CMAKE_CURRENT_SOURCE_DIR}/postgres_tmp/postgres-REL_15_13
141143
${CMAKE_CURRENT_SOURCE_DIR}/postgres)
142144

143145
# Remove the tmp directory

extension_config.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ duckdb_extension_load(tpcds)
1212
duckdb_extension_load(json)
1313

1414
# Any extra extensions that should be built
15-
# e.g.: duckdb_extension_load(json)
15+
# e.g.: duckdb_extension_load(json)

0 commit comments

Comments
 (0)