Re: Segfault on logical replication to partitioned table with foreign children
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Segfault on logical replication to partitioned table with foreign children |
| Дата | |
| Msg-id | 1787918.1667407062@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Segfault on logical replication to partitioned table with foreign children (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Segfault on logical replication to partitioned table with foreign children
|
| Список | pgsql-hackers |
Since we're getting pretty close to the next set of back-branch releases,
I went ahead and pushed a minimal fix along the lines suggested by Shi Yu.
(I realized that there's a second ExecFindPartition call in worker.c that
also needs a check.) We still can at leisure think about refactoring
CheckSubscriptionRelkind to avoid unnecessary lookups. I think that
is something we should do only in HEAD; it'll just be a marginal savings,
not worth the risks of API changes in stable branches. The other loose
end is whether to worry about a regression test case. I'm inclined not
to bother. The only thing that isn't getting exercised is the actual
ereport, which probably isn't in great need of routine testing.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера