Simplify reindex_relation's API.
Tom Lane <tgl@sss.pgh.pa.us>
Simplify reindex_relation's API. For what seem entirely historical reasons, a bitmask "flags" argument was recently added to reindex_relation without subsuming its existing boolean argument into that bitmask. This seems a bit bizarre, so fold them together.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/index.c | modified | +21 −19 |
| src/backend/commands/cluster.c | modified | +3 −3 |
| src/backend/commands/indexcmds.c | modified | +2 −2 |
| src/backend/commands/tablecmds.c | modified | +1 −1 |
| src/include/catalog/index.h | modified | +6 −3 |