Re: [DOCS] can't reproduce example - Mailing list pgsql-docs

From Tom Lane
Subject Re: [DOCS] can't reproduce example
Date
Msg-id 2754.1506095239@sss.pgh.pa.us
Whole thread Raw
In response to [DOCS] can't reproduce example  (herve@duchesne.me)
Responses Re: [DOCS] can't reproduce example
List pgsql-docs
herve@duchesne.me writes:
> I tried to reproduce the example : 
> CREATE EXTENSION btree_gist;
> CREATE TABLE room_reservation (
>     room text,
>     during tsrange,
>     EXCLUDE USING GIST (room WITH =, during WITH &&)
> );

> but I got this error :
> ERROR:  data type text has no default operator class for access method
> "gist"

It works for me.  You sure you installed the extension successfully?
        regards, tom lane


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

pgsql-docs by date:

Previous
From: herve@duchesne.me
Date:
Subject: [DOCS] can't reproduce example
Next
From: zszmigiero@gmail.com
Date:
Subject: [DOCS] RECURSIVE update