summaryrefslogtreecommitdiff
path: root/src/include/nodes/execnodes.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-03-28 09:50:01 +0100
committerPeter Eisentraut <peter@eisentraut.org>2025-03-28 09:50:01 +0100
commit9a9ead1105482fc292eccf707697da2ebcc578e5 (patch)
tree28a37cfa2a88347e04f91fa9b31655a7bb26ea63 /src/include/nodes/execnodes.h
parentfb2ea12f42b9453853be043b8ed107e136e1ccb7 (diff)
Rename a node field for clarity
Rename ResultRelInfo.ri_ConstraintExprs to ri_CheckConstraintExprs. This reflects its specific purpose better and avoids confusion with adjacent fields with similar but distinct purposes. Discussion: https://postgr.es/m/CACJufxHArQysbDkWFmvK+D1TPHQWWTxWN15cMuUaTYX3xhQXgg@mail.gmail.com
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r--src/include/nodes/execnodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index e42f9f9f957..bc06fa6f5ea 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -546,8 +546,8 @@ typedef struct ResultRelInfo
/* list of WithCheckOption expr states */
List *ri_WithCheckOptionExprs;
- /* array of constraint-checking expr states */
- ExprState **ri_ConstraintExprs;
+ /* array of expr states for checking check constraints */
+ ExprState **ri_CheckConstraintExprs;
/*
* Arrays of stored generated columns ExprStates for INSERT/UPDATE/MERGE.