citusdata / citusdata/citus

Use CatalogTupleUpdateWithInfo for multi-row catalog updates

Open
#3,066 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

In some cases like `UnsetMetadataSyncedForAll()` we update multiple rows by calling `CatalogTupleUpdate()` which opens/closes indexes for every row. Comments for `CatalogTupleUpdate()` suggest using `CatalogTupleUpdateWithInfo()` in these cases to amortize the cost of open/close index work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.