Re: PL/pgSQL PERFORM with CTE

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: PL/pgSQL PERFORM with CTE
Дата
Msg-id 8FEF0448-7232-496E-92E0-BF16A2379887@justatheory.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL PERFORM with CTE  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: PL/pgSQL PERFORM with CTE
Список pgsql-hackers
On Aug 20, 2013, at 2:53 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:

>> I am passing the values returned from a CTE to a call to pg_notify(). I do not care to collect the output of
pg_notify(),which returns VOID. 
>
> it is little bit different issue - PL/pgSQL doesn't check if returned type is VOID - it can be allowed, I am
thinking.So check of empty result can be enhanced. 

I am confused. I do not need to check the result (except via FOUND). But I am sure I can think of other situations
whereI am calling something where I do not care about the result, even if it returns one. 

Best,

David




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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: PL/pgSQL PERFORM with CTE
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: PL/pgSQL PERFORM with CTE