Re: Selecting strict, immutable text for a composite type.

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Steven Lembark <lembark(at)wrkhors(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Selecting strict, immutable text for a composite type.
Date: 2018-05-10 21:41:53
Message-ID: CAKFQuwYUdwRL_PO_6fZ==-85obk=FAbv4wWDPJR+dw337m2PeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, May 10, 2018 at 2:16 PM, Steven Lembark <lembark(at)wrkhors(dot)com> wrote:

> exclude using gist
> (
> location using =,
> effective using &&
> )
>

Have you installed the btree-​gist extension?

https://www.postgresql.org/docs/10/static/btree-gist.html

Not sure about composites but if you do store a text representation it will
work.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-05-10 21:55:19 Re: Domain based on TIMEZONE WITH TIME ZONE
Previous Message Tom Lane 2018-05-10 21:38:48 Re: Selecting strict, immutable text for a composite type.