postgresql/contrib/test_decoding
Amit Kapila 04645bbcae WAL log unchanged toasted replica identity key attributes.
Currently, during UPDATE, the unchanged replica identity key attributes
are not logged separately because they are getting logged as part of the
new tuple. But if they are stored externally then the untoasted values are
not getting logged as part of the new tuple and logical replication won't
be able to replicate such UPDATEs. So we need to log such attributes as
part of the old_key_tuple during UPDATE.

Reported-by: Haiying Tang
Author: Dilip Kumar and Amit Kapila
Reviewed-by: Alvaro Herrera, Haiying Tang, Andres Freund
Backpatch-through: 10
Discussion: https://postgr.es/m/OS0PR01MB611342D0A92D4F4BF26C0F47FB229@OS0PR01MB6113.jpnprd01.prod.outlook.com
2022-02-14 08:07:46 +05:30
..
expected WAL log unchanged toasted replica identity key attributes. 2022-02-14 08:07:46 +05:30
specs Allow non-quoted identifiers as isolation test session/step names. 2021-06-23 18:41:39 -04:00
sql Remove assertion for replication origins in PREPARE TRANSACTION 2021-12-14 10:58:25 +09:00
t Add more $Test::Builder::Level in the TAP tests 2021-10-12 11:16:20 +09:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Add information of total data processed to replication slot stats. 2021-04-16 07:34:43 +05:30
logical.conf Add logical_decoding_work_mem to limit ReorderBuffer memory usage. 2019-11-19 07:32:36 +05:30
test_decoding.c Add a xid argument to the filter_prepare callback for output plugins. 2021-03-30 10:34:43 +05:30