Re: The content of the column_name field in the error response for a constraint violation

2024-06-16 Thread Tom Lane
arkhipov...@gmail.com writes: > I noticed that the error response for a constraint violation only contains > the column name for not-null constraints. I'm confused because the field > isn't present when other types of constraints are triggered, such as unique, > foreign keys, and check constrain

The content of the column_name field in the error response for a constraint violation

2024-06-09 Thread arkhipov . nr
Hi, I noticed that the error response for a constraint violation only contains the column name for not-null constraints. I'm confused because the field isn't present when other types of constraints are triggered, such as unique, foreign keys, and check constraints. Was this done intentionally b