Opclass name

Started by PG Bug reporting formover 4 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/spgist-builtin-opclasses.html
Description:

In commit 7a1cd526 (doc: Rework tables for built-in operator classes of
index AMs) the name of the inet_ops opclass was changed to network_ops. It
doesn't look right, because network_ops is the name of opfamily, not
opclass.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: Opclass name

PG Doc comments form <noreply@postgresql.org> writes:

In commit 7a1cd526 (doc: Rework tables for built-in operator classes of
index AMs) the name of the inet_ops opclass was changed to network_ops. It
doesn't look right, because network_ops is the name of opfamily, not
opclass.

Hm, yeah. The table title says "opclass", and that's definitely the
name that would be more useful to most users, so we should list opclass
not opfamily names. There are some other cases of opfname != opcname
in gist and brin, but those tables seem to give the opclass name in
each such case, so it's just this one mistake.

regards, tom lane