From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matthias.vandemeent@cofano.nl
Subject: BUG #16586: deduplicate_items=true can be configured for numeric indexes
Date: Thu, 20 Aug 2020 11:48:48 +0000
Message-ID: <16586-1e0e00b426ff1054@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 16586
Logged by: Matthias van de Meent
Email address: matthias.vandemeent@cofano.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, matthias.vandemeent@cofano.nl
Subject: Re: BUG #16586: deduplicate_items=true can be configured for numeric indexes
In-Reply-To: <16586-1e0e00b426ff1054@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox