Re: show() function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: show() function
Дата
Msg-id 16419.1025130878@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: show() function  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: show() function  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Is there anything fundamentally difficult with supporting "PROCEDURE
> foo()" as equivalent with "FUNCTION foo() RETURNS opaque" and "CALL foo()"
> as equivalent with "SELECT foo()" and throw away the result.

I'd like to see us *not* overload "opaque" with yet another meaning;
see past rants on subject.  But as long as there was a distinguishable
representation of "returns void" in pg_proc, I'd see no problem with the
above.

plpgsql presently spells "CALL" as "PERFORM"; should we stick with that
precedent?

            regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: several minor cleanups
Следующее
От: Joe Conway
Дата:
Сообщение: Re: show() function