From 68b97a1187f65b7d2a78a6da5c9df7ccba9fc7b8 Mon Sep 17 00:00:00 2001 From: dodger Date: Sat, 28 Oct 2023 09:18:17 +0200 Subject: [PATCH] updates++++++++++++ --- intervention.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/intervention.md b/intervention.md index c8fd825..d71dc3d 100644 --- a/intervention.md +++ b/intervention.md @@ -60,6 +60,15 @@ And use: archive_command = 'copy "%p" "R:\\postgresql\\local\\archivelog\\%f"' ``` +So both _primary_ and _backup_ could execute `archive_command` without problems. + +That is far from a recommended practice but solves the `archive_command` to be failing all the time. +As a consequence, PostgreSQL should start removing _WAL_ files from `pg_wal`. + +I had to restart the _primary_ server to apply that config, sorrry for that. + +## To be done + @@ -85,4 +94,3 @@ So both server are archiving into "R:\postgresql\local\archivelog" I restarted the master instance of postgresql because of this, to apply the new setup. -