diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-29 17:58:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-03-29 17:58:51 +0000 |
commit | eb47ee486538fb0ea81917b3e35d6cff9f7a0ec7 (patch) | |
tree | 1d1b5d430cd47dc9fc05fdd914a15351728d4596 /src/backend/nodes/copyfuncs.c | |
parent | 8c85a34a3b945059e1bc03e2f0988b8092a365fd (diff) | |
download | postgresql-eb47ee486538fb0ea81917b3e35d6cff9f7a0ec7.tar.gz postgresql-eb47ee486538fb0ea81917b3e35d6cff9f7a0ec7.zip |
Fix grammar for IN/OUT/INOUT parameters. This commit doesn't actually
implement any new feature, it just pushes the 'not implemented' error
message deeper into the backend. I also tweaked the grammar to accept
Oracle-ish parameter syntax (parameter name first), as well as the
SQL99 standard syntax (parameter mode first), since it was easy and
people will doubtless try to use both anyway.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 92f7168ae9f..c2130e370d4 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -15,7 +15,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.298 2005/03/14 00:19:36 neilc Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/copyfuncs.c,v 1.299 2005/03/29 17:58:50 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1888,6 +1888,7 @@ _copyFunctionParameter(FunctionParameter *from) COPY_STRING_FIELD(name); COPY_NODE_FIELD(argType); + COPY_SCALAR_FIELD(mode); return newnode; } |