Re: BUG #17477: A crash bug in transformValuesClause()

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Masahiko Sawada <sawada.mshk@gmail.com>, krking@zju.edu.cn, pgsql-bugs@lists.postgresql.org
Date: 2022-05-09T21:08:55Z
Lists: pgsql-bugs
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Looking at the code, I understand that what your patch is doing is
> making the zeroth case no longer a special one but rather handled it in
> the same loop block as the other cases, which is why the bug is fixed.
> LGTM.

Thanks for looking!  With the time constraint being what it is,
the more eyes on the patch the better.

			regards, tom lane



Commits

  1. Fix core dump in transformValuesClause when there are no columns.