Re: Removed unused param isSlice of function transformAssignmentSubscripts

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Zhang Mingli <zmlpostgres@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-18T06:42:59Z
Lists: pgsql-hackers
On Tue, Sep 13, 2022 at 03:20:01PM +0800, Richard Guo wrote:
> +1. Good catch.

Yes, you are right that this comes from c7aba7c that has changed the
transform logic and the check on slicing support, and this makes the
code easier to follow.  So, applied.
--
Michael

Commits

  1. Remove unused argument "isSlice" from transformAssignmentSubscripts()

  2. Support subscripting of arbitrary types, not only arrays.