Skip to main content

Module dml_fast_path

Module dml_fast_path 

Source
Expand description

Fast-path execution for simple PK-based UPDATE and DELETE operations

This module provides optimized execution paths for simple DML like:

  • UPDATE table SET col = val WHERE pk = $1
  • DELETE FROM table WHERE pk = $1

By detecting these patterns early and bypassing the full executor overhead (subquery checking, memory filter setup, expression compilation), we can reduce per-operation overhead significantly.