Refactor variable names in remove_self_joins_one_group()
authorAlexander Korotkov <akorotkov@postgresql.org>
Tue, 26 Aug 2025 09:51:32 +0000 (12:51 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 26 Aug 2025 09:52:31 +0000 (12:52 +0300)
commit8202b0e83d0928ce9344c31f90cdd4a1e963b568
tree956f17464cd6bef6e70be93cad50d2104f98347b
parent9d115b9e11f553991badc0148bfa52580d1b3c8f
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
src/backend/optimizer/plan/analyzejoins.c