Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)