From eb47ee486538fb0ea81917b3e35d6cff9f7a0ec7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 29 Mar 2005 17:58:51 +0000 Subject: 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. --- src/backend/nodes/copyfuncs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/backend/nodes/copyfuncs.c') 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; } -- cgit v1.2.3