On Mon, 9 May 2005, Dennis Bjorklund wrote:
Quote:
[ 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
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org