aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2022-06-21 15:30:36 +0530
committerAmit Kapila <akapila@postgresql.org>2022-06-21 15:30:36 +0530
commitf0022a77d011411d8314e1e554e182d0ab8e142e (patch)
tree66fdc32eb0a2c5595bfee4e43d135e674b795594 /contrib/jsonb_plpython
parent52d5ea9adb010d0908e8962842571cd1f6c2d66c (diff)
downloadpostgresql-f0022a77d011411d8314e1e554e182d0ab8e142e.tar.gz
postgresql-f0022a77d011411d8314e1e554e182d0ab8e142e.zip
Fix stale values in partition map entries on subscribers.
We build the partition map entries on subscribers while applying the changes for update/delete on partitions. The component relation in each entry is closed after its use so we need to update it on successive use of cache entries. This problem was there since the original commit f1ac27bfda that introduced this code but we didn't notice it till the recent commit 26b3455afa started to use the component relation of partition map cache entry. Reported-by: Tom Lane, as per buildfarm Author: Amit Langote, Hou Zhijie Reviewed-by: Amit Kapila, Shi Yu Backpatch-through: 13, where it was introduced Discussion: https://postgr.es/m/OSZPR01MB6310F46CD425A967E4AEF736FDA49@OSZPR01MB6310.jpnprd01.prod.outlook.com
Diffstat (limited to 'contrib/jsonb_plpython')
0 files changed, 0 insertions, 0 deletions