Re: BUG #19421: PostgreSQL MERGE Crash: heap_compute_data_size() at heaptuple.c:236 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #19421: PostgreSQL MERGE Crash: heap_compute_data_size() at heaptuple.c:236
Date
Msg-id 26513.1772308562@sss.pgh.pa.us
Whole thread Raw
In response to BUG #19421: PostgreSQL MERGE Crash: heap_compute_data_size() at heaptuple.c:236  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> PostgreSQL version: 15.5

The current release in that branch is 15.17; 15.5 is more than two
years out of date.

> -- PostgreSQL MERGE SIGSEGV Minimal Reproduction
> -- Crash location: heap_compute_data_size() at heaptuple.c:236

In 15.17, this example seems to do what I'd expect:

ERROR:  new row for relation "parent_tbl" violates check constraint "pcheck"
DETAIL:  Failing row contains (1, 100).

Quickly trawling the commit log, I'd guess this was fixed in
commit d6a3f3272ffee792e27c5dd871d7cf1cbf418962.

Please test against current release(s) before submitting bug reports.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19421: PostgreSQL MERGE Crash: heap_compute_data_size() at heaptuple.c:236