=== Applying patches on top of PostgreSQL commit ID b31e3f561365136b48d63e8561f32b697df16d1d === === expanding ./undo-20211125.tgz x undo-20211125/ x undo-20211125/0001-Add-SmgrId-to-smgropen-and-BufferTag.patch x undo-20211125/0002-Add-support-for-discarding-buffers.patch x undo-20211125/0003-Add-undo-log-manager.patch x undo-20211125/0004-Draft-implementation-of-undo-log-discarding.patch x undo-20211125/0006-Use-undo-based-rollback-to-clean-up-files-on-abort.patch x undo-20211125/0007-The-initial-implementation-of-the-pg_undodump-tool.patch x undo-20211125/0008-Use-the-undo-log-to-clean-up-database-directory.patch x undo-20211125/0009-Add-test-module-for-undo-log-reader.patch x undo-20211125/0010-Enhanced-the-pageinspect-extension.patch x undo-20211125/0011-Added-undoxacttest-module.patch x undo-20211125/0012-Basic-tests-of-the-undo-record-set-layer.patch x undo-20211125/0013-Add-developer-documentation-for-the-undo-log-storage.patch x undo-20211125/0014-Add-user-facing-documentation-for-undo-logs.patch x undo-20211125/0005-Let-backends-handle-temporary-undo-discarding.patch === applying patch ./undo-20211125/0001-Add-SmgrId-to-smgropen-and-BufferTag.patch patching file contrib/bloom/blinsert.c patching file contrib/pg_buffercache/Makefile patching file contrib/pg_buffercache/pg_buffercache--1.2.sql patching file contrib/pg_buffercache/pg_buffercache--1.3--1.4.sql patching file contrib/pg_buffercache/pg_buffercache.control patching file contrib/pg_buffercache/pg_buffercache_pages.c patching file doc/src/sgml/pgbuffercache.sgml patching file src/backend/access/brin/brin_xlog.c patching file src/backend/access/gin/ginxlog.c patching file src/backend/access/gist/gistbuild.c patching file src/backend/access/gist/gistxlog.c patching file src/backend/access/hash/hash_xlog.c patching file src/backend/access/hash/hashpage.c Hunk #1 succeeded at 428 (offset 1 line). Hunk #2 succeeded at 1020 (offset 1 line). patching file src/backend/access/heap/heapam.c Hunk #1 succeeded at 8469 (offset -10 lines). Hunk #2 succeeded at 8595 (offset -10 lines). Hunk #3 succeeded at 8632 (offset -10 lines). Hunk #4 succeeded at 8780 (offset -10 lines). Hunk #5 succeeded at 8852 (offset -10 lines). Hunk #6 succeeded at 8933 (offset -10 lines). Hunk #7 succeeded at 9059 (offset -10 lines). Hunk #8 succeeded at 9213 (offset -10 lines). Hunk #9 succeeded at 9509 (offset -10 lines). Hunk #10 succeeded at 9582 (offset -10 lines). patching file src/backend/access/heap/heapam_handler.c patching file src/backend/access/heap/rewriteheap.c patching file src/backend/access/nbtree/nbtree.c Hunk #1 succeeded at 167 (offset 2 lines). patching file src/backend/access/nbtree/nbtsort.c Hunk #1 succeeded at 647 (offset 6 lines). patching file src/backend/access/nbtree/nbtxlog.c patching file src/backend/access/spgist/spginsert.c patching file src/backend/access/spgist/spgxlog.c patching file src/backend/access/transam/xlog.c Hunk #1 succeeded at 1456 (offset 12 lines). Hunk #2 succeeded at 1469 (offset 12 lines). Hunk #3 succeeded at 1495 (offset 12 lines). Hunk #4 succeeded at 10713 with fuzz 2 (offset -39 lines). patching file src/backend/access/transam/xloginsert.c patching file src/backend/access/transam/xlogreader.c patching file src/backend/access/transam/xlogutils.c patching file src/backend/catalog/storage.c patching file src/backend/commands/tablecmds.c Hunk #1 succeeded at 14585 (offset 343 lines). patching file src/backend/replication/logical/decode.c Hunk #1 succeeded at 857 (offset -63 lines). Hunk #2 succeeded at 907 (offset -63 lines). Hunk #3 succeeded at 973 (offset -63 lines). Hunk #4 succeeded at 1075 (offset -63 lines). Hunk #5 succeeded at 1168 (offset -63 lines). patching file src/backend/replication/logical/reorderbuffer.c patching file src/backend/storage/buffer/bufmgr.c Hunk #1 succeeded at 482 (offset 1 line). Hunk #2 succeeded at 512 (offset 1 line). Hunk #3 succeeded at 618 (offset 1 line). Hunk #4 succeeded at 630 (offset 1 line). Hunk #5 succeeded at 780 (offset 1 line). Hunk #6 succeeded at 1119 (offset 1 line). Hunk #7 succeeded at 1996 (offset 1 line). Hunk #8 succeeded at 2768 (offset 1 line). Hunk #9 succeeded at 2786 (offset 1 line). Hunk #10 succeeded at 2838 (offset 1 line). Hunk #11 succeeded at 3115 (offset -10 lines). Hunk #12 succeeded at 3258 (offset -10 lines). Hunk #13 succeeded at 3342 (offset -10 lines). Hunk #14 succeeded at 3359 (offset -10 lines). Hunk #15 succeeded at 4666 (offset -10 lines). Hunk #16 succeeded at 4834 (offset -10 lines). patching file src/backend/storage/buffer/localbuf.c patching file src/backend/storage/freespace/freespace.c Hunk #1 succeeded at 211 (offset 1 line). patching file src/backend/storage/freespace/fsmpage.c patching file src/backend/storage/smgr/md.c patching file src/backend/storage/smgr/smgr.c patching file src/bin/pg_rewind/parsexlog.c patching file src/bin/pg_waldump/pg_waldump.c Hunk #1 succeeded at 480 (offset 17 lines). Hunk #2 FAILED at 500. Hunk #3 FAILED at 531. 2 out of 3 hunks FAILED -- saving rejects to file src/bin/pg_waldump/pg_waldump.c.rej patching file src/include/access/xloginsert.h patching file src/include/access/xlogreader.h patching file src/include/access/xlogutils.h patching file src/include/storage/buf_internals.h patching file src/include/storage/bufmgr.h patching file src/include/storage/smgr.h patching file src/include/utils/rel.h Hunk #2 succeeded at 546 (offset 1 line).