I'm running our regression test on top of postgresql 7.5 devel.
I found this function not working anymore ( is a distillated ):
create table test ( quota integer );
CREATE OR REPLACE FUNCTION sp_test ( )
RETURNS TEXT AS'
my_ret TEXT := '''';
FOR quota IN
my_ret := my_ret || quota.quota || '','';
' LANGUAGE 'plpgsql'
WITH ( iscachable );
when I execute it I obtain:
ERROR: passing a whole record variable into a SQL command is not
the problem is that the variable quota have the same column name
for the table test, for us it's a minimum issue due the fact that
is easily fixed changing the variable name, but I'm wondering if
behind there is something wrong.