pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: elionescu@yahoo.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: incorrect PostgreSQL documentation for pg_type
Date: Fri, 02 Aug 2024 11:11:44 -0400
Message-ID: <3974064.1722611504@sss.pgh.pa.us> (raw)
In-Reply-To: <172260807672.915368.2735065255633424386@wrigleys.postgresql.org>
References: <172260807672.915368.2735065255633424386@wrigleys.postgresql.org>

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





view thread (3+ messages)  latest in thread

Message-ID: <3974064.1722611504@sss.pgh.pa.us>
Permalink:  ../3974064.1722611504@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3974064.1722611504@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, elionescu@yahoo.com, pgsql-docs@lists.postgresql.org
  Subject: Re: incorrect PostgreSQL documentation for pg_type
  In-Reply-To: <3974064.1722611504@sss.pgh.pa.us>

* 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