Re: [SQL] Function returning SETOF using plpythonu

2007-01-29 Thread Luís Sousa
ing some SETOF type without problems. Is this a feature that's missing on this version or I'm I doing something wrong on code? If is a feature missing, is already implemented on some version afterwards? Best regards, Luís Sousa ---(end of broadcast)--- TIP 4: Have you searched our list archives? http://archives.postgresql.org

[SQL] Function returning SETOF using plpythonu

2007-01-26 Thread Luís Sousa
With this code is returning the object from the execution: Best regards, Luís Sousa ---(end of broadcast)--- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your

[SQL] Evaluate a variable

2007-01-26 Thread Luís Sousa
Hi, Is there anyway to evaluate a variable in plpgsql, like eval on PHP? Suppose the example: my_var:=''some value!''; a:=''my_var''; b:= a; I already tried b:=EXECUTE a; without luck! Best regards, Luís Sousa ---(end of bro