Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dvQAp-0001uR-IP for pgsql-docs@arkaria.postgresql.org; Fri, 22 Sep 2017 15:47:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dvQAp-0006vI-5H for pgsql-docs@arkaria.postgresql.org; Fri, 22 Sep 2017 15:47:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dvQAo-0006u0-6g for pgsql-docs@postgresql.org; Fri, 22 Sep 2017 15:47:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dvQAl-00053S-IZ for pgsql-docs@postgresql.org; Fri, 22 Sep 2017 15:47:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8MFlJsP002755; Fri, 22 Sep 2017 11:47:19 -0400 From: Tom Lane To: herve@duchesne.me cc: pgsql-docs@postgresql.org Subject: Re: can't reproduce example In-reply-to: <20170922150333.1448.70668@wrigleys.postgresql.org> References: <20170922150333.1448.70668@wrigleys.postgresql.org> Comments: In-reply-to herve@duchesne.me message dated "Fri, 22 Sep 2017 15:03:33 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2753.1506095239.1@sss.pgh.pa.us> Date: Fri, 22 Sep 2017 11:47:19 -0400 Message-ID: <2754.1506095239@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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