summaryrefslogtreecommitdiff
path: root/src/backend/nodes/makefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/nodes/makefuncs.c')
-rw-r--r--src/backend/nodes/makefuncs.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/backend/nodes/makefuncs.c b/src/backend/nodes/makefuncs.c
index 84edc30bbf..66cb0268ae 100644
--- a/src/backend/nodes/makefuncs.c
+++ b/src/backend/nodes/makefuncs.c
@@ -62,11 +62,13 @@ makeVar(Index varno,
var->vartype = vartype;
var->vartypmod = vartypmod;
var->varlevelsup = varlevelsup;
+
/*
- * Since few if any routines ever create Var nodes with varnoold/varoattno
- * different from varno/varattno, we don't provide separate arguments
- * for them, but just initialize them to the given varno/varattno.
- * This reduces code clutter and chance of error for most callers.
+ * Since few if any routines ever create Var nodes with
+ * varnoold/varoattno different from varno/varattno, we don't provide
+ * separate arguments for them, but just initialize them to the given
+ * varno/varattno. This reduces code clutter and chance of error for
+ * most callers.
*/
var->varnoold = varno;
var->varoattno = varattno;
@@ -107,7 +109,9 @@ makeResdom(AttrNumber resno,
resdom->restype = restype;
resdom->restypmod = restypmod;
resdom->resname = resname;
- /* For historical reasons, ressortgroupref defaults to 0 while
+
+ /*
+ * For historical reasons, ressortgroupref defaults to 0 while
* reskey/reskeyop are passed in explicitly. This is pretty silly.
*/
resdom->ressortgroupref = 0;
@@ -159,8 +163,3 @@ makeAttr(char *relname, char *attname)
return a;
}
-
-
-
-
-