=== Applying patches on top of PostgreSQL commit ID 3b1a377defcfc01d8a3f964e39aa652766ffc188 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v4-0001-Add-test-for-connection-limits.patch patching file src/test/Makefile patching file src/test/meson.build patching file src/test/postmaster/Makefile patching file src/test/postmaster/README patching file src/test/postmaster/meson.build patching file src/test/postmaster/t/001_connection_limits.pl [cf/5185 b2e4fda229] Add test for connection limits Author: Heikki Linnakangas Date: Mon Aug 12 10:55:05 2024 +0300 6 files changed, 143 insertions(+), 1 deletion(-) create mode 100644 src/test/postmaster/Makefile create mode 100644 src/test/postmaster/README create mode 100644 src/test/postmaster/meson.build create mode 100644 src/test/postmaster/t/001_connection_limits.pl === applying patch ./v4-0002-Add-test-for-dead-end-backends.patch patching file src/test/perl/PostgreSQL/Test/Cluster.pm patching file src/test/postmaster/t/001_connection_limits.pl [cf/5185 a0528f56d5] Add test for dead-end backends Author: Heikki Linnakangas Date: Mon Aug 12 10:55:11 2024 +0300 2 files changed, 55 insertions(+), 1 deletion(-) === applying patch ./v4-0003-Use-an-shmem_exit-callback-to-remove-backend-from.patch patching file src/backend/storage/ipc/pmsignal.c patching file src/backend/storage/lmgr/proc.c Hunk #1 succeeded at 354 (offset 46 lines). Hunk #2 succeeded at 419 (offset 46 lines). Hunk #3 succeeded at 993 (offset 46 lines). patching file src/include/storage/pmsignal.h [cf/5185 a2bb8dbf9c] Use an shmem_exit callback to remove backend from PMChildFlags on exit Author: Heikki Linnakangas Date: Mon Aug 12 10:58:35 2024 +0300 3 files changed, 21 insertions(+), 28 deletions(-) === applying patch ./v4-0004-Introduce-a-separate-BackendType-for-dead-end-chi.patch patching file src/backend/postmaster/postmaster.c Hunk #6 succeeded at 1767 (offset 5 lines). Hunk #7 succeeded at 1784 (offset 5 lines). Hunk #8 succeeded at 1799 (offset 5 lines). Hunk #9 succeeded at 2557 (offset 5 lines). Hunk #10 succeeded at 2600 (offset 5 lines). Hunk #11 succeeded at 2633 with fuzz 2 (offset 6 lines). Hunk #12 succeeded at 2861 (offset 6 lines). Hunk #13 succeeded at 2882 (offset 6 lines). Hunk #14 succeeded at 2924 (offset 6 lines). Hunk #15 succeeded at 2998 (offset 6 lines). Hunk #16 succeeded at 3297 (offset 6 lines). Hunk #17 succeeded at 3309 (offset 6 lines). Hunk #18 succeeded at 3396 (offset 6 lines). Hunk #19 succeeded at 3424 (offset 6 lines). Hunk #20 succeeded at 3444 (offset 6 lines). Hunk #21 succeeded at 3677 (offset 6 lines). Hunk #22 succeeded at 3689 (offset 6 lines). Hunk #23 succeeded at 3770 (offset 6 lines). Hunk #24 succeeded at 3784 (offset 6 lines). Hunk #25 succeeded at 3989 (offset 6 lines). Hunk #26 succeeded at 4007 (offset 6 lines). patching file src/backend/utils/activity/pgstat_io.c Hunk #1 succeeded at 330 (offset 18 lines). Hunk #2 succeeded at 354 (offset 18 lines). patching file src/backend/utils/init/miscinit.c patching file src/include/miscadmin.h Hunk #1 succeeded at 333 (offset -4 lines). [cf/5185 d557884056] Introduce a separate BackendType for dead-end children Author: Heikki Linnakangas Date: Mon Aug 12 10:59:04 2024 +0300 4 files changed, 56 insertions(+), 57 deletions(-) === applying patch ./v4-0005-Kill-dead-end-children-when-there-s-nothing-else-.patch patching file src/backend/postmaster/postmaster.c Hunk #2 succeeded at 1965 (offset 5 lines). Hunk #3 succeeded at 2383 (offset 5 lines). Hunk #4 succeeded at 2877 (offset 6 lines). Hunk #5 succeeded at 2935 (offset 6 lines). Hunk #6 succeeded at 2978 (offset 6 lines). Hunk #7 succeeded at 2999 (offset 6 lines). Hunk #8 succeeded at 3294 (offset 6 lines). Hunk #9 succeeded at 3325 (offset 6 lines). Hunk #10 succeeded at 3335 (offset 6 lines). patching file src/test/postmaster/meson.build patching file src/test/postmaster/t/002_start_stop.pl [cf/5185 f96f7c851b] Kill dead-end children when there's nothing else left Author: Heikki Linnakangas Date: Mon Aug 12 10:59:27 2024 +0300 3 files changed, 81 insertions(+), 19 deletions(-) create mode 100644 src/test/postmaster/t/002_start_stop.pl === applying patch ./v4-0006-Assign-a-child-slot-to-every-postmaster-child-pro.patch patching file src/backend/postmaster/Makefile patching file src/backend/postmaster/launch_backend.c patching file src/backend/postmaster/meson.build patching file src/backend/postmaster/pmchild.c patching file src/backend/postmaster/postmaster.c Hunk #6 succeeded at 852 with fuzz 1. Hunk #7 succeeded at 985 (offset 5 lines). Hunk #8 succeeded at 1295 (offset 5 lines). Hunk #9 succeeded at 1634 (offset 5 lines). Hunk #10 succeeded at 1722 (offset 5 lines). Hunk #11 succeeded at 1753 (offset 5 lines). Hunk #12 succeeded at 1920 (offset 5 lines). Hunk #13 succeeded at 2157 (offset 5 lines). Hunk #14 succeeded at 2276 (offset 5 lines). Hunk #15 succeeded at 2289 (offset 5 lines). Hunk #16 succeeded at 2312 (offset 5 lines). Hunk #17 succeeded at 2341 (offset 5 lines). Hunk #18 succeeded at 2357 (offset 5 lines). Hunk #19 succeeded at 2372 (offset 5 lines). Hunk #20 succeeded at 2388 (offset 5 lines). Hunk #21 succeeded at 2404 (offset 5 lines). Hunk #22 succeeded at 2415 (offset 5 lines). Hunk #23 succeeded at 2437 (offset 5 lines). Hunk #24 succeeded at 2450 (offset 5 lines). Hunk #25 succeeded at 2483 (offset 5 lines). Hunk #26 FAILED at 2536. Hunk #27 FAILED at 2565. Hunk #28 succeeded at 2599 (offset 6 lines). Hunk #29 succeeded at 2608 (offset 6 lines). Hunk #30 succeeded at 2648 (offset 6 lines). Hunk #31 succeeded at 2666 (offset 6 lines). Hunk #32 succeeded at 2782 (offset 6 lines). Hunk #33 succeeded at 2791 (offset 6 lines). Hunk #34 succeeded at 2833 (offset 6 lines). Hunk #35 succeeded at 2866 (offset 6 lines). Hunk #36 succeeded at 2892 (offset 6 lines). Hunk #37 succeeded at 2907 (offset 6 lines). Hunk #38 succeeded at 2932 (offset 6 lines). Hunk #39 succeeded at 3028 (offset 6 lines). Hunk #40 succeeded at 3052 (offset 6 lines). Hunk #41 succeeded at 3079 (offset 6 lines). Hunk #42 succeeded at 3110 (offset 6 lines). Hunk #43 succeeded at 3124 (offset 6 lines). Hunk #44 succeeded at 3143 (offset 6 lines). Hunk #45 succeeded at 3183 (offset 6 lines). Hunk #46 succeeded at 3219 (offset 6 lines). Hunk #47 succeeded at 3237 (offset 6 lines). Hunk #48 succeeded at 3262 (offset 6 lines). Hunk #49 succeeded at 3275 (offset 6 lines). Hunk #50 succeeded at 3293 (offset 6 lines). Hunk #51 succeeded at 3339 (offset 6 lines). Hunk #52 succeeded at 3357 (offset 6 lines). Hunk #53 succeeded at 3455 (offset 6 lines). Hunk #54 succeeded at 3503 (offset 6 lines). Hunk #55 succeeded at 3559 (offset 6 lines). Hunk #56 succeeded at 3570 (offset 6 lines). Hunk #57 succeeded at 3597 (offset 6 lines). Hunk #58 succeeded at 3634 (offset 6 lines). Hunk #59 succeeded at 3670 (offset 6 lines). Hunk #60 succeeded at 3692 (offset 6 lines). Hunk #61 succeeded at 3703 (offset 6 lines). Hunk #62 succeeded at 3728 (offset 6 lines). Hunk #63 succeeded at 3772 (offset 6 lines). Hunk #64 succeeded at 3784 (offset 6 lines). Hunk #65 succeeded at 3811 (offset 6 lines). Hunk #66 succeeded at 3819 (offset 6 lines). Hunk #67 succeeded at 3830 (offset 6 lines). Hunk #68 succeeded at 3877 (offset 6 lines). Hunk #69 succeeded at 3891 (offset 6 lines). Hunk #70 succeeded at 4031 (offset 6 lines). 2 out of 70 hunks FAILED -- saving rejects to file src/backend/postmaster/postmaster.c.rej patching file src/backend/storage/ipc/pmsignal.c patching file src/backend/storage/lmgr/proc.c Hunk #1 succeeded at 357 (offset 46 lines). Hunk #2 succeeded at 577 (offset 46 lines). patching file src/include/postmaster/postmaster.h patching file src/include/storage/pmsignal.h patching file src/tools/pgindent/typedefs.list Hunk #2 succeeded at 1928 (offset 2 lines).