Refactor variable names in remove_self_joins_one_group()

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 8202b0e83d0928ce9344c31f90cdd4a1e963b568
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2025-08-26T09:52:31Z
Releases: 18.0
Refactor variable names in remove_self_joins_one_group()

Rename inner and outer to rrel and krel, respectively, to highlight their
connection to r and k indexes.  For the same reason, rename imark and omark
to rmark and kmark.

Discussion: https://postgr.es/m/18c6bd6c-6d2a-419a-b0da-dfedef34b585%40gmail.com
Author: Andrei Lepikhov <lepihov@gmail.com>
Reviewed-by: Greg Sabino Mullane <htamfids@gmail.com>
Backpatch-through: 18

Files

PathChange+/−
src/backend/optimizer/plan/analyzejoins.c modified +25 −25

Discussion