Notice: We've updated our Privacy Policy, effective November 14, 2024.

V102: Null value in column violates not-null constraint

Work in Progress

This documentation page is currently being worked on. We apologize for the page being incomplete or not available yet.

Category: Constraint Violations
SQLSTATE: 23502 (Class 23 — Integrity Constraint Violation: not_null_violation)
Urgency: low

Example Postgres Log Output:

ERROR: null value in column "mycolumn" violates not-null constraint
DETAIL: Failing row contains (null).
STATEMENT: INSERT INTO "test" ("mycolumn") VALUES ($1) RETURNING "id"

Explanation:

...

Recommended Action:

...

Learn More:

No additional resources available.


Download Free eBook: The Top 6 Postgres Log Events
Couldn't find what you were looking for or want to talk about something specific?
Start a conversation with us →