=?iso-8859-1?q?Jeff=20Anto?= <antojf2001(at)yahoo(dot)fr> writes:
> It seems that semantic of
> select INTO var myfunc(...) from ... are different in
> plpgsql program than pure sql
> select myfunc(...) from ...
Yup. See the docs, eg
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/plpgsql-statements.html#PLPGSQL-SELECT-INTO
regards, tom lane