In DeleteAttributeTuples, use a single indexscan instead of the multiple
Tom Lane <tgl@sss.pgh.pa.us>
In DeleteAttributeTuples, use a single indexscan instead of the multiple scans that will most likely be caused by SearchSysCache probes. Also, share some code between index deletion and table deletion.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/heap.c | modified | +169 −168 |
| src/backend/catalog/index.c | modified | +8 −37 |
| src/include/catalog/heap.h | modified | +4 −1 |