Re: [BUG]: segfault during update - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUG]: segfault during update
Date
Msg-id 2111233.1604985861@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUG]: segfault during update  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2020-11-08 12:46:44 -0500, Tom Lane wrote:
>> In v12 we end up using the junkfilter's output
>> slot, which does not have a sufficiently accurate tupdesc to deal with
>> an on-disk tuple rather than one constructed by the executor.

> I really wonder if we ought to redesign the column default logic to
> really be a property of the Attr, instead of the constraint stuff it is
> now.

Yeah, I don't much like treating it as a constraint either.  Not quite
sure that it's worth the work to move it somewhere else, though.

> Is it worth adding Bertrand's testcase to the regression suite in some
> form?

I did add an equivalent test case.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: logical streaming of xacts via test_decoding is broken
Next
From: Craig Ringer
Date:
Subject: [PATCH] TAP test showing that pg_replication_slot_advance() works on standby