Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions
Дата
Msg-id CANzqJaBy1Vwpo_fso+KKo_ubKaaA2etNkz-T5caCexQKQ5m9mg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions
Список pgsql-general
On Tue, Jun 18, 2024 at 1:57 PM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tuesday, June 18, 2024, Ron Johnson <ronljohnsonjr@gmail.com> wrote:

But I stand by returning OUT params and records at the same time.

You mean you dislike adding the optional returns clause when output parameters exist? 

Correct.  It breaks the distinction between function and procedure.
 
Because the out parameters and the “record” represent the exact same thing.
 
What's the purpose?  Legacy of not having procedures? 



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions