mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Use macro NUM_MERGE_MATCH_KINDS instead of '3' in MERGE code.
Code quality improvement for 0294df2f1f
.
Aleksander Alekseev, reviewed by Richard Guo.
Discussion: https://postgr.es/m/CAJ7c6TMsiaV5urU_Pq6zJ2tXPDwk69-NKVh4AMN5XrRiM7N%2BGA%40mail.gmail.com
This commit is contained in:
@ -153,7 +153,7 @@ transform_MERGE_to_join(Query *parse)
|
||||
{
|
||||
RangeTblEntry *joinrte;
|
||||
JoinExpr *joinexpr;
|
||||
bool have_action[3];
|
||||
bool have_action[NUM_MERGE_MATCH_KINDS];
|
||||
JoinType jointype;
|
||||
int joinrti;
|
||||
List *vars;
|
||||
|
Reference in New Issue
Block a user