postgresql/src/include
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
..
access Add circular WAL decoding buffer, take II. 2022-03-18 18:45:47 +13:00
bootstrap Update copyright for 2022 2022-01-07 19:04:57 -05:00
catalog Add ALTER SUBSCRIPTION ... SKIP. 2022-03-22 07:11:19 +05:30
commands Enforce foreign key correctly during cross-partition updates 2022-03-20 18:43:40 +01:00
common Remove IS_AF_UNIX macro 2022-02-15 10:16:34 +01:00
datatype Update copyright for 2022 2022-01-07 19:04:57 -05:00
executor Enforce foreign key correctly during cross-partition updates 2022-03-20 18:43:40 +01:00
fe_utils Update copyright for 2022 2022-01-07 19:04:57 -05:00
foreign Update copyright for 2022 2022-01-07 19:04:57 -05:00
jit Update copyright for 2022 2022-01-07 19:04:57 -05:00
lib dshash: Add sequential scan support. 2022-03-10 12:57:05 -08:00
libpq Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
mb Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodes Add ALTER SUBSCRIPTION ... SKIP. 2022-03-22 07:11:19 +05:30
optimizer Update copyright for 2022 2022-01-07 19:04:57 -05:00
parser Add parse_analyze_withcb() 2022-03-09 11:08:16 +01:00
partitioning Update copyright for 2022 2022-01-07 19:04:57 -05:00
port Declare aarch64 has single copy atomicity for 8 byte values. 2022-03-18 13:40:26 +13:00
portability Update copyright for 2022 2022-01-07 19:04:57 -05:00
postmaster Allow archiving via loadable modules. 2022-02-03 14:05:02 -05:00
regex Update copyright for 2022 2022-01-07 19:04:57 -05:00
replication Allow extensions to add new backup targets. 2022-03-15 13:22:04 -04:00
rewrite Update copyright for 2022 2022-01-07 19:04:57 -05:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Add stxdinherit flag to pg_statistic_ext_data 2022-01-16 13:38:01 +01:00
storage Remove some pointless code in block.h. 2022-03-03 19:15:38 -05:00
tcop Add pg_analyze_and_rewrite_varparams() 2022-03-07 08:13:30 +01:00
tsearch Update copyright for 2022 2022-01-07 19:04:57 -05:00
utils pgstat: split different types of stats into separate files. 2022-03-21 12:02:25 -07:00
.gitignore
c.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fmgr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
funcapi.h Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
getaddrinfo.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
getopt_long.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
miscadmin.h Remove MaxBackends variable in favor of GetMaxBackends() function. 2022-02-08 15:53:19 -05:00
pg_config_ext.h.in
pg_config_manual.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
pg_config.h.in Add support for building with ZSTD. 2022-02-18 13:40:31 -05:00
pg_getopt.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_trace.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgstat.h pgstat: reorder pgstat.[ch] contents. 2022-03-21 16:21:00 -07:00
pgtar.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgtime.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
port.h Clean up messy API for src/port/thread.c. 2022-01-11 13:46:20 -05:00
postgres_ext.h
postgres_fe.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
postgres.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
rusagestub.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
windowapi.h Update copyright for 2022 2022-01-07 19:04:57 -05:00