aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/makefuncs.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-07-01 14:41:33 -0400
committerRobert Haas <rhaas@postgresql.org>2013-07-01 14:46:54 -0400
commit0d22987ae9fe5dc9861e314f1609c8b69d61bbfc (patch)
treef99ba262c356a7fd3c8af83847ea53a056a6f714 /src/include/nodes/makefuncs.h
parent3132a9b7ab3d76c15f88cfa29792fd888e7a959e (diff)
downloadpostgresql-0d22987ae9fe5dc9861e314f1609c8b69d61bbfc.tar.gz
postgresql-0d22987ae9fe5dc9861e314f1609c8b69d61bbfc.zip
Add a convenience routine makeFuncCall to reduce duplication.
David Fetter and Andrew Gierth, reviewed by Jeevan Chalke
Diffstat (limited to 'src/include/nodes/makefuncs.h')
-rw-r--r--src/include/nodes/makefuncs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/nodes/makefuncs.h b/src/include/nodes/makefuncs.h
index ee0c3657d66..3b71b5be404 100644
--- a/src/include/nodes/makefuncs.h
+++ b/src/include/nodes/makefuncs.h
@@ -75,6 +75,8 @@ extern TypeName *makeTypeNameFromOid(Oid typeOid, int32 typmod);
extern FuncExpr *makeFuncExpr(Oid funcid, Oid rettype, List *args,
Oid funccollid, Oid inputcollid, CoercionForm fformat);
+extern FuncCall *makeFuncCall(List *name, List *args, int location);
+
extern DefElem *makeDefElem(char *name, Node *arg);
extern DefElem *makeDefElemExtended(char *nameSpace, char *name, Node *arg,
DefElemAction defaction);