pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: kimber7@illinois.edu
To: pgsql-docs@lists.postgresql.org
Subject: Re: 52.38 pg_proc (postgresql version 14)
Date: Tue, 21 May 2024 13:12:24 +0200
Message-ID: <e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at> (raw)
In-Reply-To: <171623927533.686.18161105569328679520@wrigleys.postgresql.org>
References: <171623927533.686.18161105569328679520@wrigleys.postgresql.org>

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





view thread (2+ messages)

Message-ID: <e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at>
Permalink:  ../e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at/
Also on:    postgresql.org/message-id/e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: laurenz.albe@cybertec.at, kimber7@illinois.edu, pgsql-docs@lists.postgresql.org
  Subject: Re: 52.38 pg_proc (postgresql version 14)
  In-Reply-To: <e1f79e5c0e129da86396f791a2f9e46956b4f369.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox