Re: Any reasons for 'DO' statement not returning result?

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: Any reasons for 'DO' statement not returning result?
Дата
Msg-id CAKt_ZftVKBHRRG+RN8v49k+Qdk4XnYf-nC_ze-NOFUiL=O8QrA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Any reasons for 'DO' statement not returning result?  (Xtra Coder <xtracoder@gmail.com>)
Ответы Re: Any reasons for 'DO' statement not returning result?  (Xtra Coder <xtracoder@gmail.com>)
Список pgsql-general
If all you want is a temporary function, you *can* create it in the pg_temp namespace though that seems hackish.

Maybe a better solution would be to extend CREATE FUNCTION in a way that allows you to CREATE TEMPORARY FUNCTION?

On Sun, Aug 14, 2016 at 9:28 AM, Xtra Coder <xtracoder@gmail.com> wrote:
Thanks for the link. After looking through it i see following major points:

- thread is from 2013 and nothing changed today in 2016
- quote from that thread (C) Dimitri Fontaine
   "That topic apparently raises each year and rehash the same points"
   (So ... there should be more similar discussions in previous years, i.e. topic was first stated more than 3 years ago)
- most people agree that DO somehow needs to be made 'RETURNING', but there is no consensus how this should be made

And out of that I feel there is no luck with that feature in foreseeable future :(. 




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.

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

Предыдущее
От: Xtra Coder
Дата:
Сообщение: Re: Any reasons for 'DO' statement not returning result?
Следующее
От: Xtra Coder
Дата:
Сообщение: Re: Any reasons for 'DO' statement not returning result?