Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZtwb-00530J-W0 for pgsql-docs@arkaria.postgresql.org; Fri, 02 Aug 2024 15:11:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sZtwa-000g2n-Cn for pgsql-docs@arkaria.postgresql.org; Fri, 02 Aug 2024 15:11:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZtwa-000g2d-5C for pgsql-docs@lists.postgresql.org; Fri, 02 Aug 2024 15:11:48 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZtwX-002j7R-Ea for pgsql-docs@lists.postgresql.org; Fri, 02 Aug 2024 15:11:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 472FBiEK3974065; Fri, 2 Aug 2024 11:11:44 -0400 From: Tom Lane To: elionescu@yahoo.com cc: pgsql-docs@lists.postgresql.org Subject: Re: incorrect PostgreSQL documentation for pg_type In-reply-to: <172260807672.915368.2735065255633424386@wrigleys.postgresql.org> References: <172260807672.915368.2735065255633424386@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Fri, 02 Aug 2024 14:14:36 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3974063.1722611504.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Fri, 02 Aug 2024 11:11:44 -0400 Message-ID: <3974064.1722611504@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Doc comments form 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