=== Applying patches on top of PostgreSQL commit ID 5bca69a76b3046a85c60c48271c1831fd5affa51 === === applying patch ./v34-0001-Introduce-transaction-manager-for-foreign-transa.patch patching file src/backend/access/transam/Makefile patching file src/backend/access/transam/fdwxact.c patching file src/backend/access/transam/xact.c Hunk #4 succeeded at 2735 (offset -9 lines). patching file src/backend/foreign/foreign.c patching file src/include/access/fdwxact.h patching file src/include/foreign/fdwapi.h === applying patch ./v34-0002-postgres_fdw-supports-commit-and-rollback-APIs.patch patching file contrib/postgres_fdw/connection.c patching file contrib/postgres_fdw/expected/postgres_fdw.out Hunk #1 succeeded at 9019 (offset 7 lines). patching file contrib/postgres_fdw/postgres_fdw.c patching file contrib/postgres_fdw/postgres_fdw.h === applying patch ./v34-0003-Recreate-RemoveForeignServerById.patch patching file src/backend/catalog/dependency.c patching file src/backend/commands/foreigncmds.c patching file src/include/commands/defrem.h === applying patch ./v34-0004-Add-PrepareForeignTransaction-API.patch patching file contrib/postgres_fdw/expected/postgres_fdw.out Hunk #1 succeeded at 9019 (offset 7 lines). patching file src/backend/access/rmgrdesc/Makefile patching file src/backend/access/rmgrdesc/fdwxactdesc.c patching file src/backend/access/rmgrdesc/xlogdesc.c Hunk #1 succeeded at 113 (offset -1 lines). Hunk #2 succeeded at 122 (offset -1 lines). patching file src/backend/access/transam/fdwxact.c patching file src/backend/access/transam/rmgr.c patching file src/backend/access/transam/twophase.c Hunk #1 succeeded at 846 (offset 1 line). patching file src/backend/access/transam/xact.c Hunk #1 succeeded at 2559 (offset -9 lines). patching file src/backend/access/transam/xlog.c Hunk #2 succeeded at 4621 (offset -6 lines). Hunk #3 succeeded at 6354 (offset -8 lines). Hunk #4 succeeded at 6907 (offset -5 lines). Hunk #5 succeeded at 7117 (offset -5 lines). Hunk #6 succeeded at 7631 (offset -6 lines). Hunk #7 succeeded at 7961 (offset -10 lines). Hunk #8 succeeded at 9318 (offset -12 lines). Hunk #9 succeeded at 9855 (offset -14 lines). Hunk #10 succeeded at 9875 (offset -14 lines). Hunk #11 succeeded at 9894 (offset -14 lines). Hunk #12 succeeded at 10101 (offset -15 lines). Hunk #13 succeeded at 10305 (offset -15 lines). patching file src/backend/catalog/system_views.sql patching file src/backend/commands/foreigncmds.c patching file src/backend/foreign/foreign.c patching file src/backend/postmaster/pgstat.c patching file src/backend/replication/logical/decode.c patching file src/backend/storage/ipc/ipci.c patching file src/backend/storage/ipc/procarray.c Hunk #5 succeeded at 1719 (offset 4 lines). Hunk #6 succeeded at 1867 (offset 24 lines). Hunk #7 succeeded at 1932 (offset 26 lines). Hunk #8 succeeded at 3846 (offset 26 lines). patching file src/backend/storage/lmgr/lwlocknames.txt patching file src/backend/utils/misc/guc.c Hunk #2 succeeded at 2472 (offset 1 line). patching file src/backend/utils/misc/postgresql.conf.sample Hunk #1 succeeded at 128 (offset 1 line). patching file src/bin/initdb/initdb.c Hunk #1 succeeded at 206 (offset 1 line). patching file src/bin/pg_controldata/pg_controldata.c Hunk #1 succeeded at 296 (offset -6 lines). patching file src/bin/pg_resetwal/pg_resetwal.c patching file src/bin/pg_waldump/rmgrdesc.c patching file src/include/access/fdwxact.h patching file src/include/access/fdwxact_xlog.h patching file src/include/access/rmgrlist.h patching file src/include/access/twophase.h patching file src/include/access/xlog_internal.h patching file src/include/catalog/pg_control.h patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 6079 (offset 11 lines). patching file src/include/foreign/fdwapi.h patching file src/include/pgstat.h patching file src/include/storage/procarray.h patching file src/test/regress/expected/rules.out === applying patch ./v34-0005-postgres_fdw-supports-prepare-API.patch patching file contrib/postgres_fdw/connection.c patching file contrib/postgres_fdw/expected/postgres_fdw.out Hunk #1 succeeded at 9009 (offset 7 lines). patching file contrib/postgres_fdw/postgres_fdw.c patching file contrib/postgres_fdw/postgres_fdw.h patching file contrib/postgres_fdw/sql/postgres_fdw.sql Hunk #1 succeeded at 2670 (offset 1 line). === applying patch ./v34-0006-Add-GetPrepareId-API.patch patching file src/backend/access/transam/fdwxact.c patching file src/include/foreign/fdwapi.h === applying patch ./v34-0007-Introduce-foreign-transaction-launcher-and-resol.patch patching file src/backend/access/transam/Makefile patching file src/backend/access/transam/fdwxact.c patching file src/backend/access/transam/fdwxact_launcher.c patching file src/backend/access/transam/fdwxact_resolver.c patching file src/backend/access/transam/twophase.c Hunk #2 succeeded at 2287 (offset -1 lines). Hunk #3 succeeded at 2353 (offset -1 lines). patching file src/backend/postmaster/bgworker.c patching file src/backend/postmaster/pgstat.c patching file src/backend/postmaster/postmaster.c Hunk #2 succeeded at 915 (offset 4 lines). Hunk #3 succeeded at 983 (offset 4 lines). patching file src/backend/storage/ipc/ipci.c patching file src/backend/storage/lmgr/lwlocknames.txt patching file src/backend/tcop/postgres.c Hunk #2 succeeded at 3035 (offset -67 lines). patching file src/backend/utils/misc/guc.c Hunk #2 succeeded at 2486 (offset 1 line). patching file src/backend/utils/misc/postgresql.conf.sample Hunk #1 succeeded at 736 (offset 1 line). patching file src/include/access/fdwxact.h patching file src/include/access/fdwxact_launcher.h patching file src/include/access/fdwxact_resolver.h patching file src/include/access/resolver_internal.h patching file src/include/catalog/pg_proc.dat Hunk #1 succeeded at 6216 (offset 11 lines). patching file src/include/pgstat.h patching file src/include/utils/guc_tables.h === applying patch ./v34-0008-Prepare-foreign-transactions-at-commit-time.patch patching file src/backend/access/transam/fdwxact.c patching file src/backend/access/transam/xact.c patching file src/backend/utils/misc/guc.c Hunk #2 succeeded at 4732 (offset 11 lines). patching file src/backend/utils/misc/postgresql.conf.sample Hunk #1 succeeded at 747 (offset 1 line). patching file src/include/access/fdwxact.h patching file src/include/foreign/fdwapi.h === applying patch ./v34-0009-postgres_fdw-marks-foreign-transaction-as-modifi.patch patching file contrib/postgres_fdw/connection.c patching file contrib/postgres_fdw/postgres_fdw.c Hunk #1 succeeded at 2506 (offset 19 lines). Hunk #2 succeeded at 3700 (offset 19 lines). patching file contrib/postgres_fdw/postgres_fdw.h === applying patch ./v34-0010-Documentation-update.patch patching file doc/src/sgml/catalogs.sgml Hunk #1 succeeded at 9312 (offset 13 lines). Hunk #2 succeeded at 11183 (offset 26 lines). patching file doc/src/sgml/config.sgml Hunk #1 succeeded at 9383 (offset 47 lines). patching file doc/src/sgml/distributed-transaction.sgml patching file doc/src/sgml/fdwhandler.sgml Hunk #1 succeeded at 1503 (offset -1 lines). Hunk #2 succeeded at 2093 (offset -1 lines). patching file doc/src/sgml/filelist.sgml patching file doc/src/sgml/func.sgml Hunk #1 succeeded at 27004 (offset 98 lines). patching file doc/src/sgml/monitoring.sgml patching file doc/src/sgml/postgres.sgml patching file doc/src/sgml/storage.sgml patching file src/backend/access/transam/README.fdwxact === applying patch ./v34-0011-Add-regression-tests-for-foreign-twophase-commit.patch patching file src/test/modules/Makefile patching file src/test/modules/test_fdwxact/.gitignore patching file src/test/modules/test_fdwxact/Makefile patching file src/test/modules/test_fdwxact/expected/test_fdwxact.out patching file src/test/modules/test_fdwxact/fdwxact.conf patching file src/test/modules/test_fdwxact/sql/test_fdwxact.sql patching file src/test/modules/test_fdwxact/t/001_basic.pl patching file src/test/modules/test_fdwxact/test_fdwxact--1.0.sql patching file src/test/modules/test_fdwxact/test_fdwxact.c patching file src/test/modules/test_fdwxact/test_fdwxact.control patching file src/test/recovery/Makefile patching file src/test/recovery/t/021_fdwxact.pl patching file src/test/regress/pg_regress.c patching file src/tools/msvc/Mkvcbuild.pm