Re: BUG #17995: Segmentation fault caused by UPDATE statement
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: zuming.jiang@inf.ethz.ch
Cc: pgsql-bugs@lists.postgresql.org
Date: 2023-06-24T19:51:59Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes: > --- Test case --- > create table t1 (pkey int4, c7 float8, c8 text, c9 float8); > insert into t1 (pkey, c7, c8, c9) values (96000, 0.0, '3n@', -79.14); > update t1 set c7 = t1.c9 / t1.c7 where 'a' @@ repeat(t1.c8, t1.pkey); Hmm, I don't think this is about the UPDATE per se, it's about not having a stack depth check in TParserGet() :-( regards, tom lane
Commits
-
Check for interrupts and stack overflow in TParserGet().
- c7f33a197bf2 11.21 landed
- b6ab18a990ff 13.12 landed
- a77d90171441 15.4 landed
- 691594acd67e 16.0 landed
- 4c61afa47c61 14.9 landed
- 3b4580f5ce98 12.16 landed
-
Doc: Clarify the behavior of triggers/rules in a logical subscriber.
- f5c446e33675 16.0 cited