@apatheticmagpie.bsky.socialXata - Postgres at Scale @xata.io
2026-01-08 13:43 UTC
PostgreSQL stores *all* constraints: check, not-null, PK, FK, unique, exclusion and domain constraints as rows in `pg_constraint` catalog. In Postgres 18, even NOT NULL constraints now get their own entries here (before 18 they lived in `pg_attribute`!).
3 likes, 1 reposts, 1 replies
3 Next post4 More from @xata.ioBackBluesky home