Re: BUG #16369: Segmentation Faults and Data Corruption with Generated Columns
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: cameron.ezell@clearcapital.com, pgsql-bugs@lists.postgresql.org, peter.eisentraut@2ndquadrant.com
Date: 2020-04-16T00:40:24Z
Lists: pgsql-bugs
Attachments
- fix_generated_column_crash2.patch (application/octet-stream) patch
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.
Commits
-
Fix possible crash with GENERATED ALWAYS columns
- a375f11c44cf 12.3 landed
- 3cb02e307e35 13.0 landed