Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions
Date: 2024-06-18 18:27:10
Message-ID: CANzqJaBy1Vwpo_fso+KKo_ubKaaA2etNkz-T5caCexQKQ5m9mg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 18, 2024 at 1:57 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Tuesday, June 18, 2024, Ron Johnson <ronljohnsonjr(at)gmail(dot)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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-06-18 18:37:36 Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions
Previous Message David G. Johnston 2024-06-18 17:57:41 Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions