diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-02-13 05:53:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-02-13 05:53:46 +0000 |
commit | e529e9fa4449d77127639b073aa2eed386e367b3 (patch) | |
tree | cd8f77cf05cb1a9eb775ee23f046efab9ce70bc9 /src/backend/parser/parse_clause.c | |
parent | 29e57ce303571991bee5ab86f23ab749d701ecc9 (diff) | |
download | postgresql-e529e9fa4449d77127639b073aa2eed386e367b3.tar.gz postgresql-e529e9fa4449d77127639b073aa2eed386e367b3.zip |
[ Revert patch ]
> =================================================================
> User interface proposal for multi-row function targetlist entries
> =================================================================
> 1. Only one targetlist entry may return a set.
> 2. Each targetlist item (other than the set returning one) is
> repeated for each item in the returned set.
>
Having gotten no objections (actually, no response at all), I can only
assume no one had heartburn with this change. The attached patch covers
the first of the two proposals, i.e. restricting the target list to only
one set returning function.
Joe Conway
Diffstat (limited to 'src/backend/parser/parse_clause.c')
-rw-r--r-- | src/backend/parser/parse_clause.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parse_clause.c b/src/backend/parser/parse_clause.c index 85af5359eaf..a68442b69a9 100644 --- a/src/backend/parser/parse_clause.c +++ b/src/backend/parser/parse_clause.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.107 2003/02/13 05:06:34 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_clause.c,v 1.108 2003/02/13 05:53:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1118,7 +1118,7 @@ findTargetlistEntry(ParseState *pstate, Node *node, List *tlist, int clause) * the end of the target list. This target is given resjunk = TRUE so * that it will not be projected into the final tuple. */ - target_result = transformTargetEntry(pstate, node, expr, NULL, true, NULL); + target_result = transformTargetEntry(pstate, node, expr, NULL, true); lappend(tlist, target_result); return target_result; |