Am 19.09.2018 um 15:51 schrieb Durgamahesh Manne:
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.

honestly, a BRIN-Index on a bool-column doesn't make much sense. What do you want to achive? Maybe a partial index with a where-condition on that column makes much more sense.


Regards, Andreas

--
2ndQuadrant - The PostgreSQL Support Company.
www.2ndQuadrant.com


Reply via email to