Re: [GENERAL] Question about anyelement datatype

2008-11-25 Thread Tom Lane
Kaarel <[EMAIL PROTECTED]> writes: > Then I tried to use this: > v_result v_data%TYPE > where v_data is an argument of the same function with anyelement > datatype, but no luck. Define "no luck". What did you do *exactly*, and what happened? regards, tom lane -- Se

[GENERAL] Question about anyelement datatype

2008-11-25 Thread Kaarel
Hi I need to use the following statement in a stored procedure: EXECUTE 'SELECT * FROM ' || v_table_name INTO v_result; where v_table_name and v_result are the arguments of the function. v_table_name is of character varying type and v_result is anyelement. But as I discovered, it's not all