Re: New operators and class for jsonb with gin indexing

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Luka Zivkovic <lukazivkovic58(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: New operators and class for jsonb with gin indexing
Date: 2021-02-23 15:53:12
Message-ID: 3824223.1614095592@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Luka Zivkovic <lukazivkovic58(at)gmail(dot)com> writes:
> Yeah, i was looking i to that, and it looks like i just didn't implement
> it correctly. I'm just wondering because I'm using it for jsonb type, can i
> just use already implemented support functions for jsonb? I'm just not too
> sure how those functions work

The support functions need to know about the operators' semantics, so
you have to write your own when inventing new operators.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ayo 2021-02-23 16:09:39 Re: Custom base type and suboptimal query plans
Previous Message Adrian Klaver 2021-02-23 15:50:48 Re: pg_restore - generated column - not populating