git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1b098da) | patch
Invalidate relcache when changing REPLICA IDENTITY index.
2021年11月16日 02:40:13 +0000 (08:10 +0530)
2021年11月16日 02:40:13 +0000 (08:10 +0530)
commit 354a1f8d220fbbb07b0ded32c5ade72646afb801
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
src/backend/commands/tablecmds.c diff | blob | blame | history
src/test/subscription/t/100_bugs.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /