Opclass name

Поиск
Список
Период
Сортировка
Искать

Opclass name

От:
PG Doc comments 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.

Re: Opclass name

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
PG Doc comments form  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


FAQ