We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think that there should be ON CONFLICT that make UPSERT instead of INSERT. To make sure that all block are overwriten correctly.
ON CONFLICT
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") }) }))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think that there should be
ON CONFLICT
that make UPSERT instead of INSERT. To make sure that all block are overwriten correctly.The text was updated successfully, but these errors were encountered: