mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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.
This commit is contained in:
@ -1080,7 +1080,7 @@ ExecuteTruncate(TruncateStmt *stmt)
|
||||
/*
|
||||
* Reconstruct the indexes to match, and we're done.
|
||||
*/
|
||||
reindex_relation(heap_relid, true, 0);
|
||||
reindex_relation(heap_relid, REINDEX_REL_PROCESS_TOAST);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user