pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
52.38 pg_proc (postgresql version 14)
2+ messages / 2 participants
[nested] [flat]

* 52.38 pg_proc (postgresql version 14)
@ 2024-05-20 21:07 PG Doc comments form <noreply@postgresql.org>
  2024-05-21 11:12 ` Re: 52.38 pg_proc (postgresql version 14) Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2024-05-20 21:07 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: kimber7@illinois.edu

The following documentation comment has been logged on the website:

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.


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 52.38 pg_proc (postgresql version 14)
  2024-05-20 21:07 52.38 pg_proc (postgresql version 14) PG Doc comments form <noreply@postgresql.org>
@ 2024-05-21 11:12 ` Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 0 replies; 2+ messages in thread

From: Laurenz Albe @ 2024-05-21 11:12 UTC (permalink / raw)
  To: kimber7@illinois.edu; pgsql-docs@lists.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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-05-21 11:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-05-20 21:07 52.38 pg_proc (postgresql version 14) PG Doc comments form <noreply@postgresql.org>
2024-05-21 11:12 ` Laurenz Albe <laurenz.albe@cybertec.at>

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