"David Schmitt" <david@dasz.at> writes:
> This is not implemented:
> DECLARE
> working_cursor NO SCROLL CURSOR FOR EXECUTE $$SELECT something $$ || tbl
> || $$ ... $$;
What's wrong with OPEN FOR EXECUTE?
The proposed addition seems a bit weird anyway since it presumes
nontrivial calculation to be done during variable initialization.
regards, tom lane