Why can NUMERIC columns not use deduplication?

2022-01-14 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/btree-implementation.html Description: "64.4.3. Deduplication" says: "numeric cannot use deduplication. Numeric display scale must be preserved among equal datums." However I don't under

Re: Why can NUMERIC columns not use deduplication?

2022-01-14 Thread Tom Lane
PG Doc comments form writes: > "64.4.3. Deduplication" says: > "numeric cannot use deduplication. Numeric display scale must be preserved > among equal datums." > However I don't understand this. An equal datum is an equal datum regardless > of display scale, isn't it? No. For example: regress