pgsql: Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code.

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code.
Date: 2024-04-19 08:41:34
Message-ID: E1rxjoL-002oP1-IH@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code.

Code quality improvement for 0294df2f1f84.

Aleksander Alekseev, reviewed by Richard Guo.

Discussion: https://postgr.es/m/CAJ7c6TMsiaV5urU_Pq6zJ2tXPDwk69-NKVh4AMN5XrRiM7N%2BGA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2e068db56e31dfb510fe7416e52b7affe26f278f

Modified Files
--------------
src/backend/optimizer/prep/prepjointree.c | 2 +-
src/backend/parser/parse_merge.c | 2 +-
src/include/nodes/execnodes.h | 2 +-
src/include/nodes/primnodes.h | 2 ++
4 files changed, 5 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-04-19 10:38:15 pgsql: Better handle indirect constraint drops
Previous Message Daniel Gustafsson 2024-04-19 08:05:04 pgsql: Remove unused function prototype