Skip to content

Commit 1c51a28

Browse files
committed
fix: use correct path for pg-extensions file
1 parent 4ee63ef commit 1c51a28

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ansible/files/postgres_prestart.sh.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ update_orioledb_buffers() {
3333
}
3434

3535
check_extensions_file() {
36-
local extensions_file="/root/pg-extensions.json"
36+
local extensions_file="/etc/adminapi/pg-extensions.json"
3737
if [ ! -f "$extensions_file" ]; then
3838
log "extensions: No extensions file found, skipping extensions versions check"
3939
return 1
@@ -51,7 +51,7 @@ get_pg_cron_version() {
5151
fi
5252

5353
local version
54-
version=$(jq -r '.pg_cron // empty' "/root/pg-extensions.json")
54+
version=$(jq -r '.pg_cron // empty' "/etc/adminapi/pg-extensions.json")
5555
if [ -z "$version" ]; then
5656
log "pg_cron: Not specified in extensions file"
5757
return

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ postgres_major:
99

1010
# Full version strings for each major version
1111
postgres_release:
12-
postgresorioledb-17: "17.0.1.086-orioledb"
13-
postgres17: "17.4.1.036"
14-
postgres15: "15.8.1.093"
12+
postgresorioledb-17: "17.0.1.086-orioledb-cron-1"
13+
postgres17: "17.4.1.036-cron-1"
14+
postgres15: "15.8.1.093-cron-1"
1515

1616
# Non Postgres Extensions
1717
pgbouncer_release: "1.19.0"

0 commit comments

Comments
 (0)