RE: Regrading brin_index on required column of the table

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: RE: Regrading brin_index on required column of the table
Date: 2018-09-19 13:49:39
Message-ID: DM5PR17MB1532013677EAE501B6854C63DA1C0@DM5PR17MB1532.namprd17.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


From: Durgamahesh Manne [mailto:maheshpostgres9(at)gmail(dot)com]
Sent: Wednesday, September 19, 2018 9:43 AM
To: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Regrading brin_index on required column of the table

WARNING: This email originated from outside of Perceptron! Please be mindful of PHISHING and MALWARE risks.
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(at)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

Why would you want BRIN index on Boolean-type column?
What kind of interval will you specify?

Regards,
Igor Neyman

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Durgamahesh Manne 2018-09-19 13:51:13 *Regarding brin_index on required column of the table
Previous Message Durgamahesh Manne 2018-09-19 13:42:48 Regrading brin_index on required column of the table