gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: support pg < 16


From: gnunet
Subject: [taler-exchange] branch master updated: support pg < 16
Date: Mon, 25 Mar 2024 15:36:54 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new efc53fc9 support pg < 16
efc53fc9 is described below

commit efc53fc97e913f8da47c8f54cffbd9a837f137bb
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 25 14:36:49 2024 +0100

    support pg < 16
---
 src/auditor/test-auditor.sh | 27 ++++++++++++++++++++-------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/src/auditor/test-auditor.sh b/src/auditor/test-auditor.sh
index 4eadd447..d8978c96 100755
--- a/src/auditor/test-auditor.sh
+++ b/src/auditor/test-auditor.sh
@@ -2221,20 +2221,33 @@ $INITDB_BIN \
     --no-sync \
     --auth=trust \
     -D "${TMPDIR}" \
-    --set listen_addresses='' \
-    --set fsync=off \
-    --set max_wal_senders=0 \
-    --set synchronous_commit=off \
-    --set wal_level=minimal \
-    --set unix_socket_directories="${TMPDIR}/sockets" \
     > "${MY_TMP_DIR}/postgres-dbinit.log" \
     2> "${MY_TMP_DIR}/postgres-dbinit.err"
 echo "DONE"
+
+# Once we move to PG16, we can use:
+#    --set listen_addresses='' \
+#    --set fsync=off \
+#    --set max_wal_senders=0 \
+#    --set synchronous_commit=off \
+#    --set wal_level=minimal \
+#    --set unix_socket_directories="${TMPDIR}/sockets" \
+
+
 SOCKETDIR="${TMPDIR}/sockets"
 mkdir "${SOCKETDIR}"
 
 echo -n "Launching Postgres service"
-# Unix domain socket is NOT yet supported by libeufin!
+
+cat - >> "$TMPDIR/postgresql.conf" <<EOF
+unix_socket_directories='${TMPDIR}/sockets'
+fsync=off
+max_wal_senders=0
+synchronous_commit=off
+wal_level=minimal
+listen_addresses=''
+EOF
+
 grep -v host \
      < "$TMPDIR/pg_hba.conf" \
      > "$TMPDIR/pg_hba.conf.new"

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]