Anmelden

Postgres FM· Folge 131

NOT VALID constraints

Freitag, 17. Januar 2025 · 34 min

MP3

Shownotes

Nikolay and Michael discuss adding constraints in an online fashion, using NOT VALID and then VALIDATE CONSTRAINT.

Here are some links to things they mentioned:
• ADD table_constraint NOT VALID postgresql.org/docs/current/sql-altertable.htm…
• Our episode on zero-downtime migrations postgres.fm/episodes/zero-downtime-migrations
• VALIDATE CONSTRAINT postgresql.org/docs/current/sql-altertable.htm…
• ALTER TABLE notes postgresql.org/docs/current/sql-altertable.htm…
• pgroll github.com/xataio/pgroll

~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, (postgres.fm/people) or by commenting on our Google doc (docs.google.com/document/d/1PNGSn_d0A7gTR4C0p6…)!

~~~
Postgres FM is produced by:
• Michael Christofides, founder of pgMustard (pgmustard.com)
• Nikolay Samokhvalov, founder of Postgres.ai (postgres.ai)

With special thanks to:
• Jessie Draws for the elephant artwork

Anmelden oder registrieren

Jetzt

0:00 / 0:00