From: | Taiki Koshino <koshino(at)sraoss(dot)co(dot)jp> |
---|---|
To: | pgpool-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgpool: Fix file deletion command in recovery_1st_stage.sample. |
Date: | 2025-09-10 06:19:49 |
Message-ID: | E1uwEBJ-000SG8-0y@gothos.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgpool-committers |
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_4_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=eaa9bdf1f25436f7f6f675c01135c2625cf09f1b
Modified Files
--------------
src/sample/scripts/recovery_1st_stage.sample | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Taiki Koshino | 2025-09-10 06:20:35 | pgpool: Fix file deletion command in recovery_1st_stage.sample. |
Previous Message | Taiki Koshino | 2025-09-10 06:18:12 | pgpool: Fix file deletion command in recovery_1st_stage.sample. |