Doc: improve and centralize the documentation for OID alias types.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 May 2021 15:26:48 +0000 (11:26 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 5 May 2021 15:26:48 +0000 (11:26 -0400)
commitf33a178a34809a2bae7a5f4c00984d87771f4204
treea1630270d38ec4f517578c46a3162fd495d75a73
parent38f36aad8c55c8f91e3fb8720fae1847c8fa0552
Doc: improve and centralize the documentation for OID alias types.

Previously, a lot of information about type regclass existed only
in the discussion of the sequence functions.  Maybe that made sense
in the beginning, because I think originally those were the only
functions taking regclass.  But it doesn't make sense anymore.
Move that material to the "Object Identifier Types" section in
datatype.sgml, generalize it to talk about the other reg* types
as well, and add more examples.

Per bug #16991 from Federico Caselli.

Discussion: https://postgr.es/m/16991-bcaeaafa17e0a723@postgresql.org
doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml