# Postgres 15, UNIQUE 와 NULL 향상

> Clean Markdown view of GeekNews topic #6962. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6962](https://news.hada.io/topic?id=6962)
- GeekNews Markdown: [https://news.hada.io/topic/6962.md](https://news.hada.io/topic/6962.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2022-07-13T10:00:01+09:00
- Updated: 2022-07-13T10:00:01+09:00
- Original source: [blog.rustprooflabs.com](https://blog.rustprooflabs.com/2022/07/postgres-15-unique-improvement-with-null)
- Points: 5
- Comments: 0

## Topic Body

- 최근 릴리즈된 15 베타 2에서, UNIQUE가 NULL값을 고유하지 않은 것으로 처리하도록 허용   
→ `UNIQUE NULLS NOT DISTINCT`  
- 14까지는 UNIQUE 제약이 있을 경우, NULL은 다른 NULL과 같은 값으로 처리되지 않았음  
→ 이것은 SQL 표준의 NULL 처리 규칙에 맞음. NULL은 Unknown 이므로 같다고 판단할 수 없음

## Comments



_No public comments on this page._
