[SCM] PostGIS branch stable-3.5 updated. 3.5.7-76-g675d82ec1

git at osgeo.org git at osgeo.org
Sun Jul 19 23:41:07 PDT 2026


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.5 has been updated
       via  675d82ec1480084eaffb94d17aab5ce72b7b1e44 (commit)
       via  7144d67132100e103f5280b583b396667e9b029f (commit)
      from  e0adbb804e561767223482fec5c70d1315fa7de1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 675d82ec1480084eaffb94d17aab5ce72b7b1e44
Merge: e0adbb804 7144d6713
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date:   Sun Jul 19 23:41:06 2026 -0700

    Merge pull request 'ci: isolate Bessie PostgreSQL on stable 3.5' (!457) from Komzpa/postgis:fix/stable-3.5-bessie-private-postgres into stable-3.5
    
    Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/457


commit 7144d67132100e103f5280b583b396667e9b029f
Author: Darafei Praliaskouski <me at komzpa.net>
Date:   Sun Jul 19 00:36:58 2026 +0400

    ci: isolate the Bessie PostgreSQL cluster
    
    (cherry picked from commit 23a1f5deddb5947c830ec6cc54d4e44dc19ebbdc)

diff --git a/ci/bessie/postgis_regress.sh b/ci/bessie/postgis_regress.sh
index bec7bb73b..90b79fb7c 100644
--- a/ci/bessie/postgis_regress.sh
+++ b/ci/bessie/postgis_regress.sh
@@ -4,6 +4,31 @@ set -e
 
 #BRANCH is passed in via jenkins which is set via webhook hook
 export PATH=${PATH}:/usr/local:/usr/local/lib:/usr/local/bin
+
+PGIS_TMP_ROOT=$(mktemp -d "${TMPDIR:-/tmp}/postgis-bessie.XXXXXX")
+export PGDATA="${PGIS_TMP_ROOT}/data"
+export PGHOST="${PGIS_TMP_ROOT}"
+export PGUSER=postgres
+export PGIS_REG_TMPDIR="${PGIS_TMP_ROOT}/regress"
+PGLOG="${PGIS_TMP_ROOT}/postgresql.log"
+
+cleanup() {
+  status=$?
+  trap - EXIT
+  if test -s "${PGDATA}/postmaster.pid"; then
+    pg_ctl -D "${PGDATA}" -m immediate stop >/dev/null 2>&1 || true
+  fi
+  if test "${status}" -ne 0 && test -s "${PGLOG}"; then
+    echo "PostgreSQL log follows:" >&2
+    tail -n 100 "${PGLOG}" >&2
+  fi
+  rm -rf -- "${PGIS_TMP_ROOT}"
+  exit "${status}"
+}
+
+trap cleanup EXIT
+trap 'exit 1' HUP INT TERM
+
 sh autogen.sh
 ./configure \
   --with-projdir=/usr/local \
@@ -11,9 +36,17 @@ sh autogen.sh
   --with-library-minor-version
 #make distclean
 make
-export PGUSER=postgres
-export PGIS_REG_TMPDIR=~/tmp/pgis_reg_${BRANCH}
-psql -c "DROP DATABASE IF EXISTS postgis_reg;"
+
+initdb -N --no-data-checksums -U "${PGUSER}" -D "${PGDATA}"
+printf '%s\n' \
+  'fsync = off' \
+  'full_page_writes = off' \
+  'synchronous_commit = off' \
+  >> "${PGDATA}/postgresql.conf"
+pg_ctl -D "${PGDATA}" -l "${PGLOG}" \
+  -o "-F -c listen_addresses='' -c unix_socket_directories='${PGHOST}'" start
+mkdir -p "${PGIS_REG_TMPDIR}"
+
 make check RUNTESTFLAGS="-v"
 sudo make install
 make check RUNTESTFLAGS="-v --extension"

-----------------------------------------------------------------------

Summary of changes:
 ci/bessie/postgis_regress.sh | 39 ++++++++++++++++++++++++++++++++++++---
 1 file changed, 36 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list