Removed unused param isSlice of function transformAssignmentSubscripts

Zhang Mingli <zmlpostgres@gmail.com>

From: Zhang Mingli <zmlpostgres@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-13T03:35:37Z
Lists: pgsql-hackers

Attachments

Hi,


Param isSlice was once used to identity targetTypeId for transformAssignmentIndirection.

In commit c7aba7c14e, the evaluation was pushed down to transformContainerSubscripts.

No need to keep isSlice around transformAssignmentSubscripts.

Attach a patch to remove it.

Regards,
Zhang Mingli

Commits

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

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