We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42fa97 commit 4d10f1bCopy full SHA for 4d10f1b
templates/postgres.template.yml
@@ -116,6 +116,7 @@ run:
116
install -d -m 0755 -o postgres -g postgres /shared/postgres_data_new && sudo -u postgres /usr/lib/postgresql/15/bin/initdb -D /shared/postgres_data_new || exit 0
117
apt-get update
118
apt-get install -y postgresql-${PG_MAJOR_OLD} postgresql-${PG_MAJOR_OLD}-pgvector
119
+ pg_createcluster -u postgres --no-status ${PG_MAJOR_OLD} main
120
chown -R postgres:postgres /var/lib/postgresql/15
121
/etc/init.d/postgresql stop
122
rm -fr /shared/postgres_data/postmaster.pid
0 commit comments