Re: Assertion being hit during WAL replay

2023-04-14 Thread Tom Lane
Andres Freund writes: > I pushed the fix + test now. Cool, thanks. regards, tom lane

Re: Assertion being hit during WAL replay

2023-04-14 Thread Andres Freund
Hi, On 2023-04-11 15:03:02 -0700, Andres Freund wrote: > On 2023-04-11 16:54:53 -0400, Tom Lane wrote: > > Here's something related to what I hit that time: > > > > diff --git a/src/backend/optimizer/plan/subselect.c > > b/src/backend/optimizer/plan/subselect.c > > index 052263aea6..d43a7c7bcb

Re: Assertion being hit during WAL replay

2023-04-11 Thread Andres Freund
Hi, On 2023-04-11 16:54:53 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2023-04-11 14:48:44 -0400, Tom Lane wrote: > >> I have seen this failure a couple of times recently while > >> testing code that caused crashes and restarts: > > > Do you have a quick repro recipe? > > Here's

Re: Assertion being hit during WAL replay

2023-04-11 Thread Tom Lane
Andres Freund writes: > On 2023-04-11 14:48:44 -0400, Tom Lane wrote: >> I have seen this failure a couple of times recently while >> testing code that caused crashes and restarts: > Do you have a quick repro recipe? Here's something related to what I hit that time: diff --git

Re: Assertion being hit during WAL replay

2023-04-11 Thread Andres Freund
Hi, On 2023-04-11 14:48:44 -0400, Tom Lane wrote: > I have seen this failure a couple of times recently while > testing code that caused crashes and restarts: Do you have a quick repro recipe? > #2 0x009987e3 in ExceptionalCondition ( > conditionName=conditionName@entry=0xb31bc8

Assertion being hit during WAL replay

2023-04-11 Thread Tom Lane
I have seen this failure a couple of times recently while testing code that caused crashes and restarts: #2 0x009987e3 in ExceptionalCondition ( conditionName=conditionName@entry=0xb31bc8 "mode == RBM_NORMAL || mode == RBM_ZERO_ON_ERROR || mode == RBM_ZERO_AND_LOCK",