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:18:12 |
Message-ID: | E1uwE9k-000Rlh-12@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_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=732d38525b34e68123f8bee27abf56866a11ca15
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:19:49 | pgpool: Fix file deletion command in recovery_1st_stage.sample. |
Previous Message | Taiki Koshino | 2025-09-10 06:16:11 | pgpool: Fix file deletion command in recovery_1st_stage.sample. |