uniqueness and null could benefit from a hint for dba - Mailing list pgsql-docs

From PG Doc comments form
Subject uniqueness and null could benefit from a hint for dba
Date
Msg-id 156760275564.1127.12321702656456074572@wrigleys.postgresql.org
Whole thread Raw
Responses Re: uniqueness and null could benefit from a hint for dba
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/indexes-unique.html
Description:

Sometimes it is convenient to create an unique index that considers NULL
values equal. Designating a "zero" value for those rows might not be
feasible, for example due to a foreign key.

The documentation currently only states that unique indexes do not consider
NULLs equal. It might be good to offer workarounds, like indexing a coalesce
function, if scans are not the reason for the index, but the uniqueness
constraint.

pgsql-docs by date:

Previous
From: Andres Freund
Date:
Subject: Re: Release notes on "reserved OIDs"
Next
From: Tom Lane
Date:
Subject: Re: Release notes on "reserved OIDs"