public inbox for [email protected]
help / color / mirror / Atom feedFrom: Taiki Koshino <[email protected]>
To: [email protected]
Subject: pgpool: Fix file deletion command in recovery_1st_stage.sample.
Date: Wed, 10 Sep 2025 06:20:35 +0000
Message-ID: <[email protected]> (raw)
Fix file deletion command in recovery_1st_stage.sample.
In the recovery_1st_stage script, the file deletion command has been modified.
Previously, files under ARCHIVEDIR were deleted using "rm *", but when the total size of the target files exceeded ARG_MAX, it resulted in an "Argument list too long" error and caused the recovery_1st_stage script to fail.
By switching to the find command to delete files one by one, this error is avoided.
Discussion: https://github.com/pgpool/pgpool2/issues/94
Backpatch-through: v4.2
Branch
------
V4_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=063b7e111668023eb9a31ed02a5f3cc6a61e1...
Modified Files
--------------
src/sample/scripts/recovery_1st_stage.sample | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgpool: Fix file deletion command in recovery_1st_stage.sample.
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox