Re: 52.38 pg_proc (postgresql version 14)

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: kimber7(at)illinois(dot)edu, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: 52.38 pg_proc (postgresql version 14)
Date: 2024-05-21 11:12:24
Message-ID: e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Mon, 2024-05-20 at 21:07 +0000, PG Doc comments form wrote:
> Page: https://www.postgresql.org/docs/14/catalog-pg-proc.html
> Description:
>
> I don't know if this is a documentation problem or an error in pg_proc.
>
> The document, for the "prokind" column state the following:
> f for a normal function, p for a procedure, a for an aggregate
> function, or w for a window function.
>
> However, there "f" is used for *both* functions and procedures.

I cannot reproduce that:

CREATE PROCEDURE noop() LANGUAGE plpgsql AS 'BEGIN NULL; END;';

SELECT prokind FROM pg_proc WHERE proname = 'noop';

prokind
═════════
p
(1 row)

Yours,
Laurenz Albe

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Guillaume Lelarge 2024-05-21 12:43:30 Re: Ambiguous description on new columns
Previous Message PG Doc comments form 2024-05-21 08:42:12 Fundamental Architecture of PostgreSQL