Regrading brin_index on required column of the table - Mailing list pgsql-general

From Durgamahesh Manne
Subject Regrading brin_index on required column of the table
Date
Msg-id CAJCZkoKGbxA6MAt0mNfpGKo0HBhaCWZ5XBgJTTRudUC54WWqyA@mail.gmail.com
Whole thread Raw
Responses RE: Regrading brin_index on required column of the table  (Igor Neyman <ineyman@perceptron.com>)
List pgsql-general
Hi 
Respected postgres community members

I have created BRIN index on few columns of the table without any issues. But i am unable to create BRIN index on one column of the table as i got error listed below 


[local]:6263 postgres@huawei=# CREATE INDEX brin_idx on huawei using brin ("dFetch");
ERROR:  data type boolean has no default operator class for access method "brin"
HINT:  You must specify an operator class for the index or define a default operator class for the data type.

 below is the column description:
Column     datatype   collation    nullable       default    storage

 dFetch        boolean                                         false        plain



so please help in creating of the BRIN index on above column of the table .



Regards

Durgamahesh Manne



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Pgbouncer and postgres
Next
From: Igor Neyman
Date:
Subject: RE: Regrading brin_index on required column of the table