diff options
Diffstat (limited to 'src/backend/tcop/fastpath.c')
-rw-r--r-- | src/backend/tcop/fastpath.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c index 5a49b382fc9..1f2bd4b92f2 100644 --- a/src/backend/tcop/fastpath.c +++ b/src/backend/tcop/fastpath.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.11 1998/01/11 21:16:01 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.12 1998/01/26 01:41:28 scrappy Exp $ * * NOTES * This cruft is the server side of PQfn. @@ -336,7 +336,7 @@ HandleFunctionRequest() else { /* ... fixed */ /* XXX cross our fingers and trust "argsize" */ - if (!(p = palloc(argsize))) + if (!(p = palloc(argsize + 1))) { elog(ERROR, "HandleFunctionRequest: palloc failed"); } |