diff options
| author | Noah Misch | 2013-06-12 23:50:37 +0000 |
|---|---|---|
| committer | Noah Misch | 2013-06-12 23:50:37 +0000 |
| commit | 813895e4acfa646c6c0405a0a8c5d05637f42865 (patch) | |
| tree | 435a5ec48158d85c58f357c516e59e777632e466 /src/include/commands | |
| parent | fb435f40d5e34f85076a0af56b2f3bf7b86122b8 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 01d165fb79..fa9f41f88f 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); |
