This commit is contained in:
alexbelgium
2025-05-29 17:25:01 +02:00
parent a5ee5dfffc
commit 37a6fba47e
2 changed files with 3 additions and 3 deletions

View File

@@ -39,5 +39,5 @@
"slug": "postgres",
"udev": true,
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/postgres",
"version": "15.7-37"
"version": "15.7-37_test"
}

View File

@@ -39,13 +39,13 @@ get_pgdata_version() {
install_vchord_and_vectors() {
local pgver
local vectorchord_tag="${VECTORCHORD_TAG:-v0.4.1}"
local vectorchord_tag="${VECTORCHORD_TAG:-0.3.0}"
local pgvectors_tag="${PGVECTORS_TAG:-0.3.0}"
local targetarch="${TARGETARCH:-amd64}"
for pgver in "$1" "$2"; do
# vchord
local vchord_url="https://github.com/tensorchord/VectorChord/releases/download/${vectorchord_tag}/postgresql-${pgver}-vchord_${vectorchord_tag#v}-1_${targetarch}.deb"
local vchord_url="https://github.com/tensorchord/VectorChord/releases/download/${vectorchord_tag}/postgresql-${pgver}-vchord_${vectorchord_tag}-1_${targetarch}.deb"
bashio::log.info "Downloading $vchord_url"
wget -nv -O "/tmp/vchord-${pgver}.deb" "$vchord_url"
apt-get install -y "/tmp/vchord-${pgver}.deb"