Re: *Regarding brin_index on required column of the table
От | Andreas Kretschmer |
---|---|
Тема | Re: *Regarding brin_index on required column of the table |
Дата | |
Msg-id | bb757960-8a9a-910b-c734-3e67171f8815@a-kretschmer.de обсуждение исходный текст |
Ответ на | *Regarding brin_index on required column of the table (Durgamahesh Manne <maheshpostgres9@gmail.com>) |
Ответы |
Re: *Regarding brin_index on required column of the table
|
Список | pgsql-general |
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
В списке pgsql-general по дате отправления: