mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
Fold vacuum's 'int options' parameter into VacuumParams.
Many places need both, so this allows a few functions to take one fewer parameter. More importantly, as soon as we add a VACUUM option that takes a non-Boolean parameter, we need to replace 'int options' with a struct, and it seems better to think of adding more fields to VacuumParams rather than passing around both VacuumParams and a separate struct as well. Patch by me, reviewed by Masahiko Sawada Discussion: http://postgr.es/m/CA+Tgmob6g6-s50fyv8E8he7APfwCYYJ4z0wbZC2yZeSz=26CYQ@mail.gmail.com
This commit is contained in:
@@ -217,7 +217,7 @@ extern Size SyncScanShmemSize(void);
|
||||
|
||||
/* in heap/vacuumlazy.c */
|
||||
struct VacuumParams;
|
||||
extern void heap_vacuum_rel(Relation onerel, int options,
|
||||
extern void heap_vacuum_rel(Relation onerel,
|
||||
struct VacuumParams *params, BufferAccessStrategy bstrategy);
|
||||
|
||||
/* in heap/heapam_visibility.c */
|
||||
|
Reference in New Issue
Block a user