Skip to content

Commit cc8033e

Browse files
Make vacuum_index_cleanup reloption RELOPT_TYPE_ENUM.
Oversight in commit 3499df0, which generalized the reloption as a way of giving users a way to consistently avoid VACUUM's index bypass optimization. Per off-list report from Nikolay Shaplov. Backpatch: 14-, where index cleanup reloption was extended.
1 parent 63cf61c commit cc8033e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/common/reloptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ default_reloptions(Datum reloptions, bool validate, relopt_kind kind)
18731873
offsetof(StdRdOptions, user_catalog_table)},
18741874
{"parallel_workers", RELOPT_TYPE_INT,
18751875
offsetof(StdRdOptions, parallel_workers)},
1876-
{"vacuum_index_cleanup", RELOPT_TYPE_BOOL,
1876+
{"vacuum_index_cleanup", RELOPT_TYPE_ENUM,
18771877
offsetof(StdRdOptions, vacuum_index_cleanup)},
18781878
{"vacuum_truncate", RELOPT_TYPE_BOOL,
18791879
offsetof(StdRdOptions, vacuum_truncate)}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy