Re: Default operator class for data type boolean for access method gist is missing

From: Andreas Joseph Krogh <andreak(at)officenet(dot)no>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Default operator class for data type boolean for access method gist is missing
Date: 2014-03-23 09:22:03
Message-ID: OfficeNetEmail.2ae.3a1104baa1e5c081.144ee29230f@prod2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

På søndag 23. mars 2014 kl. 08:13:43, skrev Emre Hasegeli <emre(at)hasegeli(dot)com
<mailto:emre(at)hasegeli(dot)com>>: 2014-03-23, Andreas Joseph Krogh <
andreak(at)officenet(dot)no <mailto:andreak(at)officenet(dot)no>>: I'm trying to define the
following exclusion-constraint   alter table my_table add EXCLUDE USING gist
(is_defaultWITH =, daterange(valid_from, valid_to, '[)') WITH &&) WHERE
(is_default =true);   is_default should not be in the index as only one
value filtered on the WHERE clause.     Thanks. If I had more filters in WHERE,
then what?   --
Andreas Joseph Krogh <andreak(at)officenet(dot)no>      mob: +47 909 56 963
Senior Software Developer / CTO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc  

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Joseph Krogh 2014-03-23 10:10:36 Re: Default operator class for data type boolean for access method gist is missing
Previous Message Andreas Kretschmer 2014-03-23 08:59:27 Re: Default operator class for data type boolean for access method gist is missing