Re: set returning function - Mailing list pgsql-bugs

From Kris Jurka
Subject Re: set returning function
Date
Msg-id Pine.BSO.4.56.0505090551590.21377@leary.csoft.net
Whole thread Raw
In response to set returning function  (Dennis Bjorklund <db@zigo.dhs.org>)
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Dennis Bjorklund
Date:
Subject: set returning function
Next
From: "ALÝ ÇELÝK"
Date:
Subject: Re: diff value retuns, debug mode and play mode