Skip to content

Support not valid check constraint clause. #1832

Description

@igalklebanov

Hey 👋

The not valid constraint clause allows to create check constraints that enforce correctness of future data only (inserts or updates), allowing to safely backfill a column and then validate the constraint (doesn't block reads/writes) AND set not null with way less locking given the constraint is now valid.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelated to library's APIenhancementNew feature or requestpostgresRelated to PostgreSQL

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions