Skip to content

Commit

Permalink
upgrade to pg16 (#447)
Browse files Browse the repository at this point in the history
* upgrade to pg16
  • Loading branch information
NyakudyaA authored Sep 26, 2023
1 parent c816d5e commit 98f3c97
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 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
4 changes: 2 additions & 2 deletions .github/workflows/build-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
postgresMajorVersion:
- 15
- 16
postgisMajorVersion:
- 3
postgisMinorRelease:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
strategy:
matrix:
postgresMajorVersion:
- 15
- 16
postgisMajorVersion:
- 3
postgisMinorRelease:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
matrix:
postgresMajorVersion:
- 15
- 16
postgisMajorVersion:
- 3
postgisMinorRelease:
Expand Down
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 98f3c97

Please sign in to comment.