Re: [HACKERS] SQL procedures

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: [HACKERS] SQL procedures
Дата
Msg-id 1510736178.2424.10.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: [HACKERS] SQL procedures  (Simon Riggs <simon@2ndquadrant.com>)
Список pgsql-hackers
Simon Riggs wrote:
> It would seem to be implied by the SQLStandard that Functions and
> Procedures occupy the same namespace, since they are both Routines.
> 
> I can't see any benefit from having foo() function AND foo() procedure
> at same time. It would certainly confuse most people that come from
> programming languages without that distinction, but maybe someone
> knows some Oracle-foo that I don't?

The question already has been decided on the (better) basis of
the SQL standard, but for what it is worth:

Oracle has functions and procedures in the same name space.

Yours,
Laurenz Albe


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Assertion failure when the non-exclusive pg_stop_backup aborted.
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: Transform for pl/perl