Why Nostr? What is Njump?
2024-12-06 21:40:02

Anthony on Nostr: Today I Learned with nprofile1q…708gf during a pairing session that: 1. In a Unique ...

Today I Learned with during a pairing session that:
1. In a Unique Index, NULL values are considered distinct values by default in #PostgreSQL.
2. PostgreSQL 15+ supports a `NULLS NOT DISTINCT` option to change that behaviour.
3. #Django 5+ supports `nulls_distinct=False` on `UniqueConstraint` to create the unique index with that option.

Neat!

https://framapiaf.org/@tut_tuuut/113607537015184362
Author Public Key
npub1jfk7lpacj5fzxy4g5gf5mzzj9fhsdqqh2k48v2g944e4zhngxs7sxwpye3