| 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:20:35 |
| Message-ID: | E1uwEC2-000Sah-2p@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_5_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=063b7e111668023eb9a31ed02a5f3cc6a61e1a2d
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:26:43 | pgpool: Fix safer directory deletion in Bash in recovery_1st_stage.samp |
| Previous Message | Taiki Koshino | 2025-09-10 06:19:49 | pgpool: Fix file deletion command in recovery_1st_stage.sample. |