Re: incorrect PostgreSQL documentation for pg_type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: elionescu(at)yahoo(dot)com
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: incorrect PostgreSQL documentation for pg_type
Date: 2024-08-02 15:11:44
Message-ID: 3974064.1722611504@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> There is an error in the documentation, at least for version 12 (cannot
> check for version 16), in the ‘References ‘ column, for the following
> entries:

> Table 51.63. pg_type Columns
> Name Type References
> ---- ---- -----------
> typinput regproc pg_proc.oid
> typoutput regproc pg_proc.oid
> typreceive regproc pg_proc.oid
> typsend regproc pg_proc.oid
> typmodin regproc pg_proc.oid
> typmodout regproc pg_proc.oid
> typanalyze regproc pg_proc.oid

> The correct reference is pg_proc.proname

No, it's correct as written: regproc is an OID. See

https://www.postgresql.org/docs/current/datatype-oid.html

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David Rowley 2024-08-02 15:12:34 Re: incorrect PostgreSQL documentation for pg_type
Previous Message PG Doc comments form 2024-08-02 14:14:36 incorrect PostgreSQL documentation for pg_type