From: | Luka Zivkovic <lukazivkovic58(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
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:40:42 |
Message-ID: | CA+=JdnPBJhyW=-y0tvPA8syWndc6Kg03LQdsuqLtz2q=HMVOMg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thank you for your response!
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
Thanks,
Luka Živković
On Tue, Feb 23, 2021, 16:28 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Luka Zivkovic <lukazivkovic58(at)gmail(dot)com> writes:
> > I am having problems applying gin indexing to my new operator class for
> > type jsonb.
> > I created an operator that can query(jsonb column) keys and dates where
> > dates are more than, less than, equal and not equal to the one provided
> > inside another jsonb.
> > Because I want to make it use index search and not sequential search, I
> > wanted to use gin indexing, but it says that i'm missing support
> functions.
> > Did anybody try to do something like this?
>
> There's not a whole lot of documentation about this, but there is some:
>
> https://www.postgresql.org/docs/13/gin-extensibility.html
>
> After reading that, I'd suggest looking into the code for gin opclass
> support in various contrib modules (hstore might be a good start).
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Joe Conway | 2021-02-23 15:41:22 | Re: Permission inconsistency with views that call functions |
Previous Message | Santosh Udupi | 2021-02-23 15:39:15 | Re: pg_restore - generated column - not populating |