Re: prokind column (was Re: [HACKERS] SQL procedures)

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: prokind column (was Re: [HACKERS] SQL procedures)
Дата
Msg-id 3b446110-24ce-3e45-ad81-826b933cdbb0@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: prokind column (was Re: [HACKERS] SQL procedures)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: prokind column (was Re: [HACKERS] SQL procedures)  (Michael Paquier <michael@paquier.xyz>)
Re: prokind column (was Re: [HACKERS] SQL procedures)  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On 2/28/18 15:45, Tom Lane wrote:
> I have reviewed this patch and attach an updated version below.
> I've rebased it up to today, fixed a few minor errors, and adopted
> most of Michael's suggestions.  Also, since I remain desperately
> unhappy with putting zeroes into prorettype, I changed it to not
> do that ;-) ... now procedures have VOIDOID as their prorettype,
> and it will be substantially less painful to allow them to return
> some other scalar result in future, should we wish to.  I believe
> I've found all the places that were relying on prorettype == 0 as
> a substitute for prokind == 'p'.

I have just posted "INOUT parameters in procedures", which contains some
of those same changes.  So I think we're on the same page.  I will work
on consolidating this.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: INOUT parameters in procedures
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: ALTER TABLE ADD COLUMN fast default