Upgrade to postgresql 12

This commit is contained in:
root committed 2019-10-14 23:40:49 +02:00
1 parent 6e5f4f485d
commit e249f30d40
3 files changed
+19 -10

No files matched your search

+3 -3
View File
@@ -3,9 +3,9 @@
set -x
function createPostgresConfig() {
cp /etc/postgresql/10/main/postgresql.custom.conf.tmpl /etc/postgresql/10/main/postgresql.custom.conf
sudo -u postgres echo "autovacuum = $AUTOVACUUM" >> /etc/postgresql/10/main/postgresql.custom.conf
cat /etc/postgresql/10/main/postgresql.custom.conf
cp /etc/postgresql/12/main/postgresql.custom.conf.tmpl /etc/postgresql/12/main/postgresql.custom.conf
sudo -u postgres echo "autovacuum = $AUTOVACUUM" >> /etc/postgresql/12/main/postgresql.custom.conf
cat /etc/postgresql/12/main/postgresql.custom.conf
}
function setPostgresPassword() {