Re: BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti |
| Дата | |
| Msg-id | 2139835.1623461825@sss.pgh.pa.us обсуждение |
| Ответ на | Re: BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: BUG #17055: Logical replication worker crashes when applying update of row that dose not exist in target partiti
|
| Список | pgsql-bugs |
Michael Paquier <michael@paquier.xyz> writes:
> Still, the current style is not a pattern I think we should spread
> around, as a lot of copy-paste gets done in new tests added and one
> would easily mix up queries with pattern checks. The practice I'd
> like to encourage is something like the attached, to make clear that
> there is no risk to fetch incorrect logs.
If you prefer. However, I'd note that this patch as it stands
sort of breaks the argument I just made, as now you are interrogating
the postmaster's state after sending SIGHUP and before doing anything
that will wait for that to take effect. I think you should move the
location-capture commands down by at least one safe_psql call.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера