Postgresql: Violates check constraint. Failing row contains
问题 I tried to insert some data in a database with postgresql but still showing the same message: ERROR: new row for relation "empleados" violates check constraint "ck_empleados_documento" DETAIL: Failing row contains (13, 22222222, f, Lopez, Ana, Colon 123, 1, 2, casado , 1990-10-10). I do not know where or what the error is nor did I find anything that solved this. This is what i try to insert: insert into empleados (documento, sexo, apellido, nombre, domicilio, idSecc, cantidadhijos,