foo> - Search results

2006-10-16 23:02:43 | Re: plpgsql returning array (Jean-Christophe Roux)

foo(); foo ----- a b (2 rows) Notice that to return a value within the set you use the construct

2006-10-15 03:16:47 | Re: plpgsql returning array (Marc McIntyre)

foo(); foo ----- a b (2 rows) Notice that to return a value within the set you use the construct

2006-10-14 17:28:51 | plpgsql returning array (Jean-Christophe Roux)

foo() RETURNS text[] AS $BODY$ declare a text; b text; arr text[]; begin a = 'a'; b = 'b'; arr[0] = a; arr[1] = b; return