From: | Herve Duchesne <hduchesn(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, herve(at)duchesne(dot)me |
Cc: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: can't reproduce example |
Date: | 2017-09-25 09:38:33 |
Message-ID: | c358e481-2d7b-18c4-a489-73710d1d9cdf@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
You are right,
CREATE EXTENSION btree_gist;
the command failed because I was not superuser. I did it as postgres
user and It works now.
Thanks.
Le 22/09/2017 à 17:47, Tom Lane a écrit :
> herve(at)duchesne(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | sanyamjain22 | 2017-09-25 13:42:40 | drop table doesn't fire ddl_command_end event trigger |
Previous Message | zszmigiero | 2017-09-24 11:01:57 | RECURSIVE update |