From 6df6d1c2fb27c5480e64e7aba8908b4cae12eafe Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 14 Sep 2023 10:21:18 -0400 Subject: [PATCH] Update postgresql-install.sh postgresql-16 --- install/postgresql-install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/install/postgresql-install.sh b/install/postgresql-install.sh index 309b2d50..f85ca562 100644 --- a/install/postgresql-install.sh +++ b/install/postgresql-install.sh @@ -30,7 +30,7 @@ msg_info "Installing PostgreSQL" $STD apt-get update $STD apt-get install -y postgresql -cat </etc/postgresql/15/main/pg_hba.conf +cat </etc/postgresql/16/main/pg_hba.conf # PostgreSQL Client Authentication Configuration File local all postgres peer # TYPE DATABASE USER ADDRESS METHOD @@ -49,7 +49,7 @@ host replication all 127.0.0.1/32 scram-sha-256 host replication all ::1/128 scram-sha-256 EOF -cat </etc/postgresql/15/main/postgresql.conf +cat </etc/postgresql/16/main/postgresql.conf # ----------------------------- # PostgreSQL configuration file # ----------------------------- @@ -58,10 +58,10 @@ cat </etc/postgresql/15/main/postgresql.conf # FILE LOCATIONS #------------------------------------------------------------------------------ -data_directory = '/var/lib/postgresql/15/main' -hba_file = '/etc/postgresql/15/main/pg_hba.conf' -ident_file = '/etc/postgresql/15/main/pg_ident.conf' -external_pid_file = '/var/run/postgresql/15-main.pid' +data_directory = '/var/lib/postgresql/16/main' +hba_file = '/etc/postgresql/16/main/pg_hba.conf' +ident_file = '/etc/postgresql/16/main/pg_ident.conf' +external_pid_file = '/var/run/postgresql/16-main.pid' #------------------------------------------------------------------------------ # CONNECTIONS AND AUTHENTICATION @@ -107,7 +107,7 @@ log_timezone = 'Etc/UTC' # PROCESS TITLE #------------------------------------------------------------------------------ -cluster_name = '15/main' +cluster_name = '16/main' #------------------------------------------------------------------------------ # CLIENT CONNECTION DEFAULTS