While inserting data into a table which has many columns:
INSERT INTO MyTable ("name", ..100+ columns)
VALUES ('Michel', ... 100+ values)
I made an error creating a specific value so PostgreSQL tells us:
ERROR: value too long for type character varying(2)
I would like to avoid going through the whole table schema to guess which column is failing.
Is there a way to configure PostgreSQL so it tells us which column is causing the error?