pgsql: Fix stale values in partition map entries on subscribers.
В списке pgsql-committers по дате отправления:
| От | Amit Kapila |
|---|---|
| Тема | pgsql: Fix stale values in partition map entries on subscribers. |
| Дата | |
| Msg-id | E1o3ayp-0016GK-LB@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/419c72715172ed787e36fd66a85b2a571340bd79 Modified Files -------------- src/backend/replication/logical/relation.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера