=== Applying patches on top of PostgreSQL commit ID 4dea33ce765d65d8807d343ca6535a3d067a63da === /etc/rc.d/jail: WARNING: Per-jail configuration via jail_* variables is obsolete. Please consider migrating to /etc/jail.conf. === applying patch ./v20-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 d4fd60d4d3] 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 ./v20-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 3df7f6f609] Use CopyToRoutine/CopyFromRountine for the existing formats Author: Sutou Kouhei Date: Tue Jul 23 16:44:44 2024 +0900 5 files changed, 785 insertions(+), 425 deletions(-) === applying patch ./v20-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 7746 (offset 5 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 441562cfc3] 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 ./v20-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 d1b0b8600f] Export CopyToStateData and CopyFromStateData Author: Sutou Kouhei Date: Tue Jan 23 14:54:10 2024 +0900 6 files changed, 320 insertions(+), 320 deletions(-) === applying patch ./v20-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 1135b026bb] 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 ./v21-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 772. Hunk #4 succeeded at 894 with fuzz 2 (offset 88 lines). Hunk #5 succeeded at 990 with fuzz 2 (offset 101 lines). Hunk #6 FAILED at 912. 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