[HACKERS] Typo in doc/src/sgml/catalogs.sgml

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема [HACKERS] Typo in doc/src/sgml/catalogs.sgml
Дата
Msg-id CAASwCXeEXoUNhJM9E7x1YW_MkAEf3O1B-VOBRAE55+viC01Fag@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] Typo in doc/src/sgml/catalogs.sgml  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

I found a minor typo at
https://www.postgresql.org/docs/9.6/static/catalog-pg-am.html.

pg_catalog.pg_am. amhandler is of type "oid" according to the
documentation, but it's actually of type "regproc" in reality.

Compare with e.g. pg_aggregate where the columns of type "regproc" is
both "regproc" in the documentation and in reality.

To fix:

diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml
index 29738b0..93deda4 100644
--- a/doc/src/sgml/catalogs.sgml
+++ b/doc/src/sgml/catalogs.sgml
@@ -566,7 +566,7 @@
     <row>      <entry><structfield>amhandler</structfield></entry>
-      <entry><type>oid</type></entry>
+      <entry><type>regproc</type></entry>      <entry><literal><link
linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.oid</literal></entry>      <entry>       OID of a
handlerfunction that is responsible for supplying information
 

Best regards,

Joel Jacobson
Trustly



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Borodin
Дата:
Сообщение: Re: [HACKERS] pg_background contrib module proposal
Следующее
От: Andrew Borodin
Дата:
Сообщение: Re: [HACKERS] background sessions