Re: incorrect PostgreSQL documentation for pg_type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: incorrect PostgreSQL documentation for pg_type
Дата
Msg-id 3974064.1722611504@sss.pgh.pa.us
обсуждение исходный текст
Ответ на incorrect PostgreSQL documentation for pg_type  (PG Doc comments form <noreply@postgresql.org>)
Список 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 по дате отправления: