Portal name in cursor

Started by Yambuabout 5 years ago1 messagesgeneral
Jump to latest
#1Yambu
hyambu@gmail.com

Hello

Does anyone know why assigning a string to a refcursor before opening it
makes fetching data faster from a cursor?

begin;
select * from func1() ;
fetch all from "test";
end;

in func1 i set refcursor_variable := 'test';