# Support NULLS NOT DISTINCT Postgres 15+ clause

**URL:** <https://forum.djangoproject.com/t/support-nulls-not-distinct-postgres-15-clause/21973>\
**Category:** ORM\
**Created:** [June 30, 2023, 11:13am UTC](https://forum.djangoproject.com/t/support-nulls-not-distinct-postgres-15-clause/21973 "2023-06-30T11:13:30Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![charettes](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/charettes/32/27_2.png) [@charettes](https://forum.djangoproject.com/u/charettes)\
**Post date:** [June 30, 2023, 1:16pm UTC](https://forum.djangoproject.com/t/support-nulls-not-distinct-postgres-15-clause/21973/3 "2023-06-30T13:16:35Z")

</div>

From my understanding [this feature is part of the SQL:2023 standard](https://modern-sql.com/caniuse/F292) so adding support for it in [`UniqueConstraint`](https://docs.djangoproject.com/en/4.2/ref/models/constraints/#uniqueconstraint) even if it’s only supported by Postgres 15+ at the moment [seems like a feature that would be accepted](https://docs.djangoproject.com/en/4.2/internals/contributing/bugs-and-features/#requesting-features).

---

_[View the full topic](https://forum.djangoproject.com/t/support-nulls-not-distinct-postgres-15-clause/21973)._
