Skip to main content

triggered_modification_error

Function triggered_modification_error 

Source
pub fn triggered_modification_error(operation: &str) -> SQLError
Expand description

A row that an UPDATE, DELETE or MERGE reached was modified by a statement that the command’s own triggers or functions started, which PostgreSQL finds under a later command id than the command’s (TM_SelfModified). operation names what the command does to the row as the error does: updated, deleted, or updated or deleted.