Skip to content

Commit 12b501e

Browse files
authored
Merge pull request #3140 from activeloopai/drop-pg16-support
Removed 16 pg support.
2 parents 63ecadf + e220b7f commit 12b501e

22 files changed

+1265
-1668
lines changed

.github/workflows/pg-extension-build.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ on:
88
workflow_dispatch:
99
inputs:
1010
pg_version:
11-
description: "PostgreSQL version to build (16, 17, 18, or all)"
11+
description: "PostgreSQL version to build (17, 18, or all)"
1212
required: false
1313
default: "18"
1414
type: choice
1515
options:
16-
- "16"
1716
- "17"
1817
- "18"
1918
- all
@@ -50,8 +49,8 @@ jobs:
5049
id: set-versions
5150
run: |-
5251
if [ "${PG_VERSION}" == "all" ]; then
53-
echo "versions=[\"16\",\"17\",\"18\"]" >> "${GITHUB_OUTPUT}"
54-
echo "versions-list=16,17,18" >> "${GITHUB_OUTPUT}"
52+
echo "versions=[\"17\",\"18\"]" >> "${GITHUB_OUTPUT}"
53+
echo "versions-list=17,18" >> "${GITHUB_OUTPUT}"
5554
else
5655
echo "versions=[\"${PG_VERSION}\"]" >> "${GITHUB_OUTPUT}"
5756
echo "versions-list=${PG_VERSION}" >> "${GITHUB_OUTPUT}"

cpp/CMakeLists.pg.cmake

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
1-
option(BUILD_PG_16 "Build PostgreSQL 16 extension" OFF)
21
option(BUILD_PG_17 "Build PostgreSQL 17 extension" OFF)
32
option(BUILD_PG_18 "Build PostgreSQL 18 extension" ON)
43
option(USE_DEEPLAKE_SHARED "Use shared library for deeplake_api (default: auto-detect)" OFF)
54

65
set(PG_MODULE deeplake_pg)
76
set(PG_VERSIONS)
87

9-
if(BUILD_PG_16)
10-
list(APPEND PG_VERSIONS 16)
11-
endif()
12-
138
if(BUILD_PG_17)
149
list(APPEND PG_VERSIONS 17)
1510
endif()

cpp/cmake/modules/FindPostgres.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ include(ExternalProject)
33

44
# Define PostgreSQL versions
55
set(postgres_versions
6-
"REL_16_0"
76
"REL_17_0"
87
"REL_18_0"
98
)
109

1110
# Define corresponding SHA256 checksums for each version
1211
set(postgres_SHA256_CHECKSUMS
13-
"37851d1fdae1f2cdd1d23bf9a4598b6c2f3f6792e18bc974d78ed780a28933bf"
1412
"16912fe4aef3c8f297b5da1b591741f132377c8b5e1b8e896e07fdd680d6bf34"
1513
"b155bd4a467b401ebe61b504643492aae2d0836981aa4a5a60f8668b94eadebc"
1614
)
@@ -47,6 +45,5 @@ foreach(postgres_version IN LISTS postgres_versions)
4745
)
4846
endforeach()
4947

50-
set(postgres_INSTALL_DIR_REL_16_0 ${DEFAULT_PARENT_DIR}/.ext/postgres-REL_16_0/install)
5148
set(postgres_INSTALL_DIR_REL_17_0 ${DEFAULT_PARENT_DIR}/.ext/postgres-REL_17_0/install)
5249
set(postgres_INSTALL_DIR_REL_18_0 ${DEFAULT_PARENT_DIR}/.ext/postgres-REL_18_0/install)

0 commit comments

Comments
 (0)