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