summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorNoah Misch2013-06-12 23:50:37 +0000
committerNoah Misch2013-06-12 23:50:37 +0000
commit813895e4acfa646c6c0405a0a8c5d05637f42865 (patch)
tree435a5ec48158d85c58f357c516e59e777632e466 /src/include/commands
parentfb435f40d5e34f85076a0af56b2f3bf7b86122b8 (diff)
Don't pass oidvector by value.
Since the structure ends with a flexible array, doing so truncates any vector having more than one element. New in 9.3, so no back-patch.
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/defrem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h
index 01d165fb794..fa9f41f88f0 100644
--- a/src/include/commands/defrem.h
+++ b/src/include/commands/defrem.h
@@ -50,7 +50,7 @@ extern Oid AlterFunction(AlterFunctionStmt *stmt);
extern Oid CreateCast(CreateCastStmt *stmt);
extern void DropCastById(Oid castOid);
extern void IsThereFunctionInNamespace(const char *proname, int pronargs,
- oidvector proargtypes, Oid nspOid);
+ oidvector *proargtypes, Oid nspOid);
extern void ExecuteDoStmt(DoStmt *stmt);
extern Oid get_cast_oid(Oid sourcetypeid, Oid targettypeid, bool missing_ok);