Re: Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Peter Geoghegan <pg(at)heroku(dot)com>, Greg Stark <stark(at)mit(dot)edu>, Robert Haas <robertmhaas(at)gmail(dot)com>, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)
Date: 2014-04-23 14:17:48
Message-ID: 22285.1398262668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> Tom Lane wrote:
>> That seems to be the consensus, but now we need a name for the
>> soon-to-be-not-default opclass. What's a good short adjective for it?

> "comprehensive"? Not particularly short ...

> According to Merriam Webster:
> Synonyms
> all-embracing, all-in [chiefly British], all-inclusive,
> broad-gauge (or broad-gauged), compendious, complete,
> encyclopedic, cover-all, cyclopedic, embracive, exhaustive,
> full, global, inclusive, in-depth, omnibus, panoramic, thorough,
> universal

> Related Words
> broad, catholic, encyclical, general, inclusionary, overall;
> cosmic (also cosmical), extensive, far, far-reaching, grand,
> large, panoptic, sweeping, vast, wide, wide-ranging; blanket,
> indiscriminate, unrestricted

> jsonb_omnibus_ops ?

hm ... jsonb_full_ops seems nicely short, but on the other hand it just
begs the question "full what?". I'm a bit worried about future-proof-ness
too; what if somebody later comes up with a new opclass that indexes more
operators? We'd end up calling it jsonb_fuller_ops, ick.

I was kind of hoping for a technical adjective, like "hash" is for the
soon-to-be-default opclass. What is it about this opclass that
distinguishes it from other indexing approaches that someone might try?

regards, tom lane

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2014-04-25 03:25:56 9.3 release notes and maintenance_work_mem
Previous Message Alvaro Herrera 2014-04-23 14:02:51 Re: Re: default opclass for jsonb (was Re: Call for GIST/GIN/SP-GIST opclass documentation)

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2014-04-23 14:43:01 Re: 9.4 Proposal: Initdb creates a single table
Previous Message Tom Lane 2014-04-23 14:07:33 Re: [GENERAL] aggregate returning anyarray and 'cannot determine result data type'