From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: cameron.ezell@clearcapital.com
Cc: pgsql-bugs@lists.postgresql.org
Cc: peter.eisentraut@2ndquadrant.com
Subject: Re: BUG #16369: Segmentation Faults and Data Corruption with Generated Columns
Date: Wed, 15 Apr 2020 19:52:21 -0400
Message-ID: <1047.1586994741@sss.pgh.pa.us> (raw)
In-Reply-To: <CAApHDvr7xeMcfGRWQ0rxtagw7CKbjEcjPKfKQAU4KdEcZm6XkQ@mail.gmail.com>
References: <16369-5845a6f1bef59884@postgresql.org>
<CAApHDvr7xeMcfGRWQ0rxtagw7CKbjEcjPKfKQAU4KdEcZm6XkQ@mail.gmail.com>
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.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, dgrowleyml@gmail.com, cameron.ezell@clearcapital.com, pgsql-bugs@lists.postgresql.org, peter.eisentraut@2ndquadrant.com
Subject: Re: BUG #16369: Segmentation Faults and Data Corruption with Generated Columns
In-Reply-To: <1047.1586994741@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox