Pavel Stehule escribió:
> there is
> PostgreSQL supports Table Functions. But it isn't true. This patch
> wasn't committed.
A patch based on yours was committed by Neil:
2007-07-25 00:19 neilc
* doc/src/sgml/plpgsql.sgml (1.116), src/pl/plpgsql/src/gram.y
(1.105), src/pl/plpgsql/src/pl_exec.c (1.199),
src/pl/plpgsql/src/plpgsql.h (1.91), src/pl/plpgsql/src/scan.l
(1.58), src/test/regress/expected/plpgsql.out (1.58),
Implement RETURN QUERY for PL/PgSQL. This provides some convenient syntax
sugar for PL/PgSQL set-returning functions that want to return the result
of evaluating a query; it should also be more efficient than repeated
RETURN NEXT statements. Based on an earlier patch from Pavel Stehule.
Alvaro Herrera http://www.amazon.com/gp/registry/5ZYLFMCVHXC
"The West won the world not by the superiority of its ideas or values
or religion but rather by its superiority in applying organized violence.
Westerners often forget this fact, non-Westerners never do."
(Samuel P. Huntington)
In response to
pgsql-advocacy by date
|Next:||From: Neil Conway||Date: 2007-12-02 03:26:30|
|Subject: Re: inaccuracy in presskit 8.3|
|Previous:||From: Andreas 'ads' Scherbaum||Date: 2007-12-02 00:15:00|
|Subject: Re: FOSDEM 2008 - Devroom and booth|