Skip to content

Commit 681b4ce

Browse files
authored
fix: add pg_tle in shared_preload_libraries prior to running migrations (#625)
* fix: restart postgresql prior to running migration * chore: trigger build in branch * fix: reference /etc/postgresql instead * fix: retry * fix: assign config file upon restart * chore: just pass shared_preload_libraries * fix: spacing * chore: updatet * chore: trigger * chore: remove branch * chore: only pg_tle in shared_preload_libs * chore: bump postgres version * chore: bump version
1 parent 56ef725 commit 681b4ce

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ansible/playbook.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,13 @@
152152
shell:
153153
cmd: "for fl in /usr/lib/postgresql/bin/* ; do ln -sf $fl /usr/bin/$(basename $fl) ; done"
154154

155+
- name: Restart Postgres Database without Systemd
156+
become: yes
157+
become_user: postgres
158+
shell:
159+
cmd: /usr/bin/pg_ctl -D /var/lib/postgresql/data restart "-o -c shared_preload_libraries='pg_tle'"
160+
when: ebssurrogate_mode
161+
155162
- name: Run migrations
156163
import_tasks: tasks/setup-migrations.yml
157164
tags:

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.0.71"
1+
postgres-version = "15.1.0.72"

0 commit comments

Comments
 (0)