Am attempting :
context.insertInto(table(ERROR_TABLE))
  .set(valuesMap)
  .onConflictOnConstraint(constraint(name("push_def_rec_error_idx"))
  .doUpdate()
  .set(field(name(fieldname)), value)
  .execute();
Am getting an error telling me:
ERROR: constraint "push_def_rec_error_idx" for table "push_error" does not exist
Table definition (via \d+ table_name):
...
Indexes:
    "push_record_error_pkey" PRIMARY KEY, btree (push_record_error_id)
    "push_def_rec_error_idx" UNIQUE, btree (push_definition_id, rec_id)
What am I doing wrong?
This is for SQLDialect.POSTGRES_10
 
    