pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Luka Zivkovic <lukazivkovic58@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: New operators and class for jsonb with gin indexing
Date: Tue, 23 Feb 2021 10:53:12 -0500
Message-ID: <3824223.1614095592@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+=JdnPBJhyW=-y0tvPA8syWndc6Kg03LQdsuqLtz2q=HMVOMg@mail.gmail.com>
References: <CA+=JdnNC-Z1hQRyf1XkN_usqDP8ctbdsizfkin3NF0i9-C+D7g@mail.gmail.com>
	<3822832.1614094135@sss.pgh.pa.us>
	<CA+=JdnPBJhyW=-y0tvPA8syWndc6Kg03LQdsuqLtz2q=HMVOMg@mail.gmail.com>

Luka Zivkovic <lukazivkovic58@gmail.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





view thread (4+ messages)

Message-ID: <3824223.1614095592@sss.pgh.pa.us>
Permalink:  ../3824223.1614095592@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3824223.1614095592@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, lukazivkovic58@gmail.com
  Subject: Re: New operators and class for jsonb with gin indexing
  In-Reply-To: <3824223.1614095592@sss.pgh.pa.us>
  References: <CA+=JdnNC-Z1hQRyf1XkN_usqDP8ctbdsizfkin3NF0i9-C+D7g@mail.gmail.com> <3822832.1614094135@sss.pgh.pa.us> <CA+=JdnPBJhyW=-y0tvPA8syWndc6Kg03LQdsuqLtz2q=HMVOMg@mail.gmail.com> <3824223.1614095592@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox