Re: UPDATE operation terminates logical replication receiver process due to an assertion

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Justin Pryzby <pryzby@telsasoft.com>
Cc: v.davydov@postgrespro.ru, pgsql-hackers@lists.postgresql.org
Date: 2023-01-15T18:25:11Z
Lists: pgsql-hackers
Justin Pryzby <pryzby@telsasoft.com> writes:
> On Thu, Jan 12, 2023 at 01:23:57PM +0300, v.davydov@postgrespro.ru wrote:
>> TRAP: FailedAssertion("relinfo->ri_GeneratedExprs != NULL", File: "execUtils.c", Line: 1292)

> Yeah, confirmed under master branch and v15.

v15?  That assert is from 8bf6ec3ba, which wasn't back-patched.

			regards, tom lane



Commits

  1. Make new GENERATED-expressions code more bulletproof.

  2. Fix calculation of which GENERATED columns need to be updated.