Re: BUG #17236: Postgres core on pstate->p_multiassign_exprs
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ocean_li_996@163.com
Cc: pgsql-bugs@lists.postgresql.org
Date: 2021-10-19T15:38:21Z
Lists: pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes: > Postgres will crash when executing the following SQL: > CREATE TABLE v0 ( v1 INT , v2 INT ) ; > UPDATE v0 SET ( v1 , v2 ) = ( SELECT v2 + 127 , v1 FROM v0 ) , v2 = ( v2 , > v1 ) , v1 = 53 , v2 = 54 ; After further reflection, this assertion is just wrong, and we should remove it, as I've now done. The lack of previous field reports doubtless stems from the fact that most users don't use assert-enabled builds, so there was no bug for them. Thanks for the report! regards, tom lane
Commits
-
Remove bogus assertion in transformExpressionList().
- f627fd547a34 14.1 landed
- cf47dc6befe3 11.14 landed
- cf33fb7f4a19 13.5 landed
- 9681c8fd5fd0 10.19 landed
- 697dd1925f41 15.0 landed
- 1ba3b15bf232 9.6.24 landed
- 079ac0192b90 12.9 landed
-
Fix portability issues in new TAP tests of psql
- 384f1abdb9b0 15.0 cited