-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
I think that there should be ON CONFLICT
that make UPSERT instead of INSERT. To make sure that all block are overwriten correctly.
Failed to update block metadata: (Error updating account. Error message: (Failed to persist the update of block metadata to the PostgreSQL database. Error: Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState(E23505), message: "duplicate key value violates unique constraint \"block_pkey\"", detail: Some("Key (slot)=(153139229) already exists."), hint: None, position: None, where_: None, schema: Some("public"), table: Some("block"), column: None, datatype: None, constraint: Some("block_pkey"), file: Some("nbtinsert.c"), line: Some(663), routine: Some("_bt_check_unique") }) }))
Metadata
Metadata
Assignees
Labels
No labels