0010-Add-support-for-streaming-to-built-in-replication.patch.gz
application/gzip
Filename: 0010-Add-support-for-streaming-to-built-in-replication.patch.gz
Type: application/gzip
Part: 9
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch 0010
Subject: Add support for streaming to built-in replication
| File | + | − |
|---|---|---|
| doc/src/sgml/ref/alter_subscription.sgml | 3 | 2 |
| doc/src/sgml/ref/create_subscription.sgml | 12 | 0 |
| src/backend/catalog/pg_subscription.c | 1 | 0 |
| src/backend/commands/subscriptioncmds.c | 53 | 7 |
| src/backend/postmaster/pgstat.c | 12 | 0 |
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | 6 | 2 |
| src/backend/replication/logical/launcher.c | 2 | 0 |
| src/backend/replication/logical/logical.c | 2 | 2 |
| src/backend/replication/logical/proto.c | 150 | 7 |
| src/backend/replication/logical/worker.c | 1031 | 0 |
| src/backend/replication/pgoutput/pgoutput.c | 251 | 12 |
| src/backend/replication/slotfuncs.c | 7 | 0 |
| src/backend/replication/walsender.c | 6 | 0 |
| src/include/catalog/pg_subscription.h | 3 | 0 |
| src/include/pgstat.h | 5 | 1 |
| src/include/replication/logicalproto.h | 33 | 9 |
| src/include/replication/walreceiver.h | 1 | 0 |
| src/test/subscription/t/009_stream_simple.pl | 86 | 0 |
| src/test/subscription/t/010_stream_subxact.pl | 102 | 0 |
| src/test/subscription/t/011_stream_ddl.pl | 95 | 0 |
| src/test/subscription/t/012_stream_subxact_abort.pl | 82 | 0 |
| src/test/subscription/t/013_stream_subxact_ddl_abort.pl | 84 | 0 |
Binary attachment — download to view.