Najm Hashmi wrote:
> Hi All,
> As it is known that any funtion, written in pl/pgsql, can only
> retrun one tuple. I am just wondering it were true as well for function
> written in C language. I need to write few function that will retrun
> mulitiple rows satsifying a certain set of conditions. Where I can get
> some examples.
> Tahnks in advance.
> Najm
Since the language handler is written in C, if it would've been possible (or make sense WRT the capabilities
of the parser/planner/executor) I had done it for PL/pgSQL during initial creation of the language.
We plan to tackle the problem for v7.2.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #