On Mon, 9 May 2005, Dennis Bjorklund wrote:
> [ I can call sql or C SRFs without FROM, but not plpgsql.]
Trying this in pltcl (while knowing nothing about tcl and the docs not
mentioning any srf support) shows:
CREATE FUNCTION tclset() RETURNS SETOF int AS 'return 0' LANGUAGE pltcl;
SELECT * FROM tclset(); -- works
SELECT tclset(); -- goes into an infinite loop
Kris Jurka