BUG #16586: deduplicate_items=true can be configured for numeric indexes

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: matthias(dot)vandemeent(at)cofano(dot)nl
Subject: BUG #16586: deduplicate_items=true can be configured for numeric indexes
Date: 2020-08-20 11:48:48
Message-ID: 16586-1e0e00b426ff1054@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16586
Logged by: Matthias van de Meent
Email address: matthias(dot)vandemeent(at)cofano(dot)nl
PostgreSQL version: 13beta3
Operating system: Debian Stretch (9.13)
Description:

> CREATE INDEX numerical_index ON table USING btree ((num::numeric)) WITH
(deduplicate_items=true);
CREATE INDEX
> \d+ numerical_index
Index "public.numerical_index"
Column | Type | Key? | Definition | Storage | Stats target
--------+---------+------+------------+---------+--------------
num | numeric | yes | num | main |
btree, for table "public.table"
Options: deduplicate_items=true

There is no error for specifying the "deduplicate_items" -flag. As
deduplication is not supported for indexes with numeric type, I expected the
index creation statement to error.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Omar Colmenares 2020-08-20 13:39:12 RE: Query Tool does not show in PGADMIN 4.24
Previous Message Daniel Verite 2020-08-20 11:43:22 Re: BUG #15285: Query used index over field with ICU collation in some cases wrongly return 0 rows