Re: incorrect PostgreSQL documentation for pg_type - Mailing list pgsql-docs

From Tom Lane
Subject Re: incorrect PostgreSQL documentation for pg_type
Date
Msg-id 3974064.1722611504@sss.pgh.pa.us
Whole thread Raw
In response to incorrect PostgreSQL documentation for pg_type  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
PG Doc comments form <noreply@postgresql.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



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: incorrect PostgreSQL documentation for pg_type
Next
From: David Rowley
Date:
Subject: Re: incorrect PostgreSQL documentation for pg_type