aboutsummaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2022-02-14 08:24:44 +0530
committerAmit Kapila <akapila@postgresql.org>2022-02-14 08:24:44 +0530
commitcaa231be97df3e4cb2667ea355562d5a5faa60c9 (patch)
treeffdc418aabb12f2580b2e8f58c86de24d86f0693 /src/common/jsonapi.c
parentac2303aa0386d2fa26cc3e237076b49827b39d6a (diff)
downloadpostgresql-caa231be97df3e4cb2667ea355562d5a5faa60c9.tar.gz
postgresql-caa231be97df3e4cb2667ea355562d5a5faa60c9.zip
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
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions