diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-11-16 08:34:24 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-11-16 08:34:24 +0530 |
commit | 232fd72a5eab3ab429497796bce6e7da9e67ca3f (patch) | |
tree | ed19fd88100b3b983ecede1f803b0cd374869878 /src/backend/utils/adt/ruleutils.c | |
parent | 99389cb66bb743ef6b94edc77034bdd9bf5e9928 (diff) | |
download | postgresql-232fd72a5eab3ab429497796bce6e7da9e67ca3f.tar.gz postgresql-232fd72a5eab3ab429497796bce6e7da9e67ca3f.zip |
Invalidate relcache when changing REPLICA IDENTITY index.
When changing REPLICA IDENTITY INDEX to another one, the target table's
relcache was not being invalidated. This leads to skipping update/delete
operations during apply on the subscriber side as the columns required to
search corresponding rows won't get logged.
Author: Tang Haiying, Hou Zhijie
Reviewed-by: Euler Taveira, Amit Kapila
Backpatch-through: 10
Discussion: https://postgr.es/m/OS0PR01MB61133CA11630DAE45BC6AD95FB939@OS0PR01MB6113.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions