Quantcast
Channel: The Postgres Builders Blog
Viewing all articles
Browse latest Browse all 656

Changes to NOT NULL in Postgres 18

$
0
0
After a very long development period, we finally completed the project to rework NOT NULL constraints in PostgreSQL. This has long been a desire of the Postgres development community, and we finally pulled it off for version 18, which has made me very happy. What changed? The most visible user change is that NOT NULL constraints now have names. These names are visible in psql under the \d+ command. For instance, looking at the aircraft table in the postgres_air database, we can see something like this: =# \d+ aircraft Table "postgres_air.aircraft" Column │ Type │ Collation │ Nullable │ Default

Viewing all articles
Browse latest Browse all 656

Latest Images

Trending Articles



Latest Images