Go it:
execute 'select id from '||v_table||' order by random() limit 1'
into v_holder;
2012/11/29 Peter Kroon <plakroon(at)gmail(dot)com>
> --begin this
> fails------------------------------------------------------------------------------------------
> v_holder = execute 'select id from '||v_table||' order by random()
> limit 1';
> --end this
> fails-------------------------------------------------------------------------------------------
>