opt: prune columns that are guaranteed not to be needed for partial index mutations #51623
Labels
A-partial-indexes
Relating to partial indexes.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
In the example below,
a
does not need to be fetched because the secondary partial index is guaranteed not to change during this mutation—none of its indexed or referenced columns are changing.Also, the partial index put and del columns can be pruned.
The text was updated successfully, but these errors were encountered: