Re: BUG #5549: Feature: plpgsql should allow DECLARE cursor FOR EXECUTE '...'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #5549: Feature: plpgsql should allow DECLARE cursor FOR EXECUTE '...'
Дата
Msg-id 19715.1278687216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #5549: Feature: plpgsql should allow DECLARE cursor FOR EXECUTE '...'  ("David Schmitt" <david@dasz.at>)
Ответы Re: BUG #5549: Feature: plpgsql should allow DECLARE cursor FOR EXECUTE '...'  (David Schmitt <david@dasz.at>)
Список pgsql-bugs
"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

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

Предыдущее
От: "David Schmitt"
Дата:
Сообщение: BUG #5549: Feature: plpgsql should allow DECLARE cursor FOR EXECUTE '...'
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade issues