Re: BUG #16369: Segmentation Faults and Data Corruption withGenerated Columns - Mailing list pgsql-bugs

From David Rowley
Subject Re: BUG #16369: Segmentation Faults and Data Corruption withGenerated Columns
Date
Msg-id CAApHDvqFZZOwCi35xi02G=19df7idzminAhibrHEAz4McEnX=w@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16369: Segmentation Faults and Data Corruption with Generated Columns  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #16369: Segmentation Faults and Data Corruption withGenerated Columns
List pgsql-bugs
On Thu, 16 Apr 2020 at 11:52, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> David Rowley <dgrowleyml@gmail.com> writes:
> > I'd say the fix should be to just datumCopy() the result of the
> > calculation. i.e the attached.
>
> That looks like it'll fail on a null result.

Thanks.  I'll have another go then.

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16368: Incorrect function inlining in the presence of a window function
Next
From: Elvis Pranskevichus
Date:
Subject: Re: BUG #16368: Incorrect function inlining in the presence of a window function