"Hagen" <[EMAIL PROTECTED]> writes:
> create function test(text) returns table as $sql$
>   insert into table(value) values($1) returning *;
> $sql$ language sql;

> really should work now,

No doubt, but it's not happening for 8.2.  See thread here:
http://archives.postgresql.org/pgsql-hackers/2006-10/msg00665.php
There's a lot more to it than meets the eye :-(

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to