postgresql/src/bin/pg_dump
Amit Kapila 208c5d65bb Add ALTER SUBSCRIPTION ... SKIP.
This feature allows skipping the transaction on subscriber nodes.

If incoming change violates any constraint, logical replication stops
until it's resolved. Currently, users need to either manually resolve the
conflict by updating a subscriber-side database or by using function
pg_replication_origin_advance() to skip the conflicting transaction. This
commit introduces a simpler way to skip the conflicting transactions.

The user can specify LSN by ALTER SUBSCRIPTION ... SKIP (lsn = XXX),
which allows the apply worker to skip the transaction finished at
specified LSN. The apply worker skips all data modification changes within
the transaction.

Author: Masahiko Sawada
Reviewed-by: Takamichi Osumi, Hou Zhijie, Peter Eisentraut, Amit Kapila, Shi Yu, Vignesh C, Greg Nancarrow, Haiying Tang, Euler Taveira
Discussion: https://postgr.es/m/CAD21AoDeScrsHhLyEPYqN3sydg6PxAPVBboK=30xJfUVihNZDA@mail.gmail.com
2022-03-22 07:11:19 +05:30
..
po Translation updates 2021-06-21 12:33:50 +02:00
t Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZSTD. 2022-03-15 13:06:25 -04:00
.gitignore Clean up after pg_dump test runs. 2016-05-06 22:28:01 -04:00
common.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
compress_io.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
compress_io.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
dumputils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
dumputils.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00
nls.mk Translation updates 2021-05-10 14:36:21 +02:00
parallel.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
parallel.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_backup.h Add support for --no-table-access-method in pg_{dump,dumpall,restore} 2022-01-17 14:51:46 +09:00
pg_backup_archiver.c Free temporary memory when reading TOC 2022-02-09 14:12:55 +01:00
pg_backup_archiver.h contrib/sslinfo needs a fix too to make hamerkop happy. 2021-11-07 11:33:53 -05:00
pg_backup_custom.c Yet more elimination of dead stores and useless initializations. 2020-09-05 13:17:32 -04:00
pg_backup_db.c Clean up some more freshly-dead code in pg_dump and pg_upgrade. 2021-12-16 12:01:59 -05:00
pg_backup_db.h Revert "pg_dump: Lock all relations, not just plain tables". 2020-11-06 15:48:04 -05:00
pg_backup_directory.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_backup_null.c Remove useless "return;" lines 2019-11-28 16:48:37 -03:00
pg_backup_tar.c Remove workarounds for avoiding [U]INT64_FORMAT in translatable strings. 2022-03-18 13:10:04 -04:00
pg_backup_tar.h Fix tar files emitted by pg_dump and pg_basebackup to be POSIX conformant. 2012-09-28 15:19:15 -04:00
pg_backup_utils.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_backup_utils.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_dump.c Add ALTER SUBSCRIPTION ... SKIP. 2022-03-22 07:11:19 +05:30
pg_dump.h Optionally disable subscriptions on error. 2022-03-14 09:32:40 +05:30
pg_dump_sort.c Fix bogus dependency handling for GENERATED expressions. 2022-03-21 14:58:49 -04:00
pg_dumpall.c Add missing binary-upgrade guard. 2022-02-17 10:53:51 -05:00
pg_restore.c Add support for --no-table-access-method in pg_{dump,dumpall,restore} 2022-01-17 14:51:46 +09:00