pgsql: Remove unnecessary checks for indexes for REPLICA IDENTITY FULL

2023-07-24 Thread Masahiko Sawada
Remove unnecessary checks for indexes for REPLICA IDENTITY FULL tables. Previously, when selecting an usable index for update/delete for the REPLICA IDENTITY FULL table, in IsIndexOnlyExpression(), we used to check if all index fields are not expressions. However, it was not necessary, because it

pgsql: Remove unnecessary checks for indexes for REPLICA IDENTITY FULL

2023-07-24 Thread Masahiko Sawada
Remove unnecessary checks for indexes for REPLICA IDENTITY FULL tables. Previously, when selecting an usable index for update/delete for the REPLICA IDENTITY FULL table, in IsIndexOnlyExpression(), we used to check if all index fields are not expressions. However, it was not necessary, because it