Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/pg-extension-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ on:
workflow_dispatch:
inputs:
pg_version:
description: "PostgreSQL version to build (16, 17, 18, or all)"
description: "PostgreSQL version to build (17, 18, or all)"
required: false
default: "18"
type: choice
options:
- "16"
- "17"
- "18"
- all
Expand Down Expand Up @@ -50,8 +49,8 @@ jobs:
id: set-versions
run: |-
if [ "${PG_VERSION}" == "all" ]; then
echo "versions=[\"16\",\"17\",\"18\"]" >> "${GITHUB_OUTPUT}"
echo "versions-list=16,17,18" >> "${GITHUB_OUTPUT}"
echo "versions=[\"17\",\"18\"]" >> "${GITHUB_OUTPUT}"
echo "versions-list=17,18" >> "${GITHUB_OUTPUT}"
else
echo "versions=[\"${PG_VERSION}\"]" >> "${GITHUB_OUTPUT}"
echo "versions-list=${PG_VERSION}" >> "${GITHUB_OUTPUT}"
Expand Down
5 changes: 0 additions & 5 deletions cpp/CMakeLists.pg.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
option(BUILD_PG_16 "Build PostgreSQL 16 extension" OFF)
option(BUILD_PG_17 "Build PostgreSQL 17 extension" OFF)
option(BUILD_PG_18 "Build PostgreSQL 18 extension" ON)
option(USE_DEEPLAKE_SHARED "Use shared library for deeplake_api (default: auto-detect)" OFF)

set(PG_MODULE deeplake_pg)
set(PG_VERSIONS)

if(BUILD_PG_16)
list(APPEND PG_VERSIONS 16)
endif()

if(BUILD_PG_17)
list(APPEND PG_VERSIONS 17)
endif()
Expand Down
3 changes: 0 additions & 3 deletions cpp/cmake/modules/FindPostgres.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@ include(ExternalProject)

# Define PostgreSQL versions
set(postgres_versions
"REL_16_0"
"REL_17_0"
"REL_18_0"
)

# Define corresponding SHA256 checksums for each version
set(postgres_SHA256_CHECKSUMS
"37851d1fdae1f2cdd1d23bf9a4598b6c2f3f6792e18bc974d78ed780a28933bf"
"16912fe4aef3c8f297b5da1b591741f132377c8b5e1b8e896e07fdd680d6bf34"
"b155bd4a467b401ebe61b504643492aae2d0836981aa4a5a60f8668b94eadebc"
)
Expand Down Expand Up @@ -47,6 +45,5 @@ foreach(postgres_version IN LISTS postgres_versions)
)
endforeach()

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