Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
Cc: "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 17:15:28
Message-ID: CAKFQuwarhk+tg0iJVekT8FENSjhTBXhvVmbep6kWVrUzd1naaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 18, 2024 at 10:07 AM Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
wrote:

> fun2 puzzles me. Why would you return parameters AND *a single record* (unless
> it's an error status).
>

You mis-understand what 2 is doing. You should go re-read the docs for
create function again. Especially the description of rettype.

David J.

>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wiwwo Staff 2024-06-18 17:28:41 Re: HISTIGNORE in psql
Previous Message David G. Johnston 2024-06-18 17:13:08 Re: Seeking Clarification on Function Definitions in PostgreSQL Extensions