what are the ways to avoid --- "ERROR: EXECUTE of SELECT ... INTO is not implemented yet"

Поиск
Список
Период
Сортировка
От Shantanu
Тема what are the ways to avoid --- "ERROR: EXECUTE of SELECT ... INTO is not implemented yet"
Дата
Msg-id 97d558890805300927q13c476bcv8216564af4d578ce@mail.gmail.com
обсуждение исходный текст
Ответы Re: what are the ways to avoid --- "ERROR: EXECUTE of SELECT ... INTO is not implemented yet"  (tomas@tuxteam.de)
Re: what are the ways to avoid --- "ERROR: EXECUTE of SELECT ... INTO is not implemented yet"  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-bugs
Hello experts,


I am facing this error.

mydb=> select version();
                                            version

--------------------------------------------------------------------------------

 PostgreSQL 8.1.9

(1 row)

mydb=> \i /tmp/test.sql
CREATE FUNCTION
mydb=> select sp_test();
ERROR:  EXECUTE of SELECT ... INTO is not implemented yet
CONTEXT:  PL/pgSQL function "sp_test" line 4 at execute statement


mydb=>
[1]+  Stopped                 su - dbu
mymachine<root># cat /tmp/test.sql
create or replace function sp_test() RETURNS void as $$
declare
        l_var timestamp;
begin
execute 'SELECT NOW() INTO l_var';
end;
$$ language plpgsql;



What are the ways to avoid it
We have an idea of creating the temporary table to store the cursor values,
but this would require a huge effort.

Any alternatives?

~
Shantanu

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Gerardo Antonio"
Дата:
Сообщение: problems compiling in 64 bits
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: some problem when installing postgresql