Skip to content

Commit

Permalink
upgrade to pg16
Browse files Browse the repository at this point in the history
  • Loading branch information
NyakudyaA committed Sep 26, 2023
1 parent c816d5e commit 70947ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LANG=en_US.UTF-8
# locale filter to include in the locale generator
LANGS="en_US.UTF-8,id_ID.UTF-8"

POSTGRES_MAJOR_VERSION=15
POSTGRES_MAJOR_VERSION=16
POSTGIS_MAJOR_VERSION=3
POSTGIS_MINOR_RELEASE=4
BUILD_TIMESCALE=false
1 change: 0 additions & 1 deletion scripts/env-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ EXTDIR="/usr/share/postgresql/${POSTGRES_MAJOR_VERSION}/extension/"
SETVARS="POSTGIS_ENABLE_OUTDB_RASTERS=1 POSTGIS_GDAL_ENABLED_DRIVERS=ENABLE_ALL"
LOCALONLY="-c listen_addresses='127.0.0.1'"
PG_BASEBACKUP="/usr/lib/postgresql/${POSTGRES_MAJOR_VERSION}/bin/pg_basebackup"
PROMOTE_FILE="/tmp/pg_promote_master"
NODE_PROMOTION="/usr/lib/postgresql/${POSTGRES_MAJOR_VERSION}/bin/pg_ctl"
DATA_DIR_CONTROL="/usr/lib/postgresql/${POSTGRES_MAJOR_VERSION}/bin/pg_controldata"
PGSTAT_TMP="/var/run/postgresql/"
Expand Down
1 change: 0 additions & 1 deletion scripts/setup-conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ checkpoint_timeout = ${CHECK_POINT_TIMEOUT}
primary_conninfo = 'host=${REPLICATE_FROM} port=${REPLICATE_PORT} user=${REPLICATION_USER} password=${REPLICATION_PASS} ${PARAMS}'
recovery_target_timeline=${TARGET_TIMELINE}
recovery_target_action=${TARGET_ACTION}
promote_trigger_file = '${PROMOTE_FILE}'
EOF
if [[ ${ARCHIVE_MODE} =~ [Oo][Nn] ]];then
cat >> "${ROOT_CONF}"/streaming_replication.conf <<EOF
Expand Down

0 comments on commit 70947ff

Please sign in to comment.