=== Applying patches on top of PostgreSQL commit ID a3699daea2026de324ed7cc7115c36d3499010d3 === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v22-0001-Add-CopyToRoutine-CopyFromRountine.patch patching file src/backend/commands/copyfrom.c patching file src/backend/commands/copyfromparse.c patching file src/backend/commands/copyto.c patching file src/include/commands/copyapi.h patching file src/include/commands/copyfrom_internal.h patching file src/tools/pgindent/typedefs.list [cf/4681 749563882b] Add CopyToRoutine/CopyFromRountine Author: Sutou Kouhei Date: Mon Mar 4 13:52:34 2024 +0900 6 files changed, 159 insertions(+), 8 deletions(-) create mode 100644 src/include/commands/copyapi.h === applying patch ./v22-0002-Use-CopyToRoutine-CopyFromRountine-for-the-exist.patch patching file src/backend/commands/copyfrom.c patching file src/backend/commands/copyfromparse.c patching file src/backend/commands/copyto.c patching file src/include/commands/copy.h patching file src/include/commands/copyfrom_internal.h [cf/4681 4e91d35029] Use CopyToRoutine/CopyFromRountine for the existing formats Author: Sutou Kouhei Date: Tue Jul 23 16:44:44 2024 +0900 5 files changed, 770 insertions(+), 422 deletions(-) === applying patch ./v22-0003-Add-support-for-adding-custom-COPY-TO-FROM-forma.patch patching file src/backend/commands/copy.c patching file src/backend/commands/copyfrom.c patching file src/backend/commands/copyto.c patching file src/backend/nodes/Makefile patching file src/backend/nodes/gen_node_support.pl patching file src/backend/utils/adt/pseudotypes.c patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 7771 (offset 10 lines). patching file src/include/catalog/pg_type.dat patching file src/include/commands/copy.h patching file src/include/commands/copyapi.h patching file src/include/nodes/meson.build patching file src/test/modules/Makefile patching file src/test/modules/meson.build patching file src/test/modules/test_copy_format/.gitignore patching file src/test/modules/test_copy_format/Makefile patching file src/test/modules/test_copy_format/expected/test_copy_format.out patching file src/test/modules/test_copy_format/meson.build patching file src/test/modules/test_copy_format/sql/test_copy_format.sql patching file src/test/modules/test_copy_format/test_copy_format--1.0.sql patching file src/test/modules/test_copy_format/test_copy_format.c patching file src/test/modules/test_copy_format/test_copy_format.control [cf/4681 2ca8e3a6b4] Add support for adding custom COPY TO/FROM format Author: Sutou Kouhei Date: Tue Jul 23 17:39:41 2024 +0900 21 files changed, 313 insertions(+), 15 deletions(-) create mode 100644 src/test/modules/test_copy_format/.gitignore create mode 100644 src/test/modules/test_copy_format/Makefile create mode 100644 src/test/modules/test_copy_format/expected/test_copy_format.out create mode 100644 src/test/modules/test_copy_format/meson.build create mode 100644 src/test/modules/test_copy_format/sql/test_copy_format.sql create mode 100644 src/test/modules/test_copy_format/test_copy_format--1.0.sql create mode 100644 src/test/modules/test_copy_format/test_copy_format.c create mode 100644 src/test/modules/test_copy_format/test_copy_format.control === applying patch ./v22-0004-Export-CopyToStateData-and-CopyFromStateData.patch patching file src/backend/commands/copyfrom.c patching file src/backend/commands/copyfromparse.c patching file src/backend/commands/copyto.c patching file src/include/commands/copy.h patching file src/include/commands/copyapi.h patching file src/include/commands/copyfrom_internal.h [cf/4681 36a3c00626] Export CopyToStateData and CopyFromStateData Author: Sutou Kouhei Date: Tue Jan 23 14:54:10 2024 +0900 6 files changed, 323 insertions(+), 323 deletions(-) === applying patch ./v22-0005-Add-support-for-implementing-custom-COPY-TO-FROM.patch patching file src/backend/commands/copyfromparse.c patching file src/backend/commands/copyto.c patching file src/include/commands/copyapi.h [cf/4681 72a0b7ed65] Add support for implementing custom COPY TO/FROM format as extension Author: Sutou Kouhei Date: Tue Jan 23 15:12:43 2024 +0900 3 files changed, 38 insertions(+) === applying patch ./v23-0001-Add-CopyToRountine.patch patching file src/backend/commands/copyto.c Hunk #1 FAILED at 20. Hunk #2 FAILED at 64. Hunk #3 FAILED at 776. Hunk #4 succeeded at 898 with fuzz 2 (offset 88 lines). Hunk #5 succeeded at 994 with fuzz 2 (offset 101 lines). Hunk #6 FAILED at 916. 4 out of 6 hunks FAILED -- saving rejects to file src/backend/commands/copyto.c.rej The next patch would create the file src/include/commands/copyapi.h, which already exists! Applying it anyway. patching file src/include/commands/copyapi.h Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file src/include/commands/copyapi.h.rej patching file src/tools/pgindent/typedefs.list Hunk #1 FAILED at 503. 1 out of 1 hunk FAILED -- saving rejects to file src/tools/pgindent/typedefs.list.rej