aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/heapam.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2019-03-18 13:57:33 -0400
committerRobert Haas <rhaas@postgresql.org>2019-03-18 13:57:33 -0400
commitf41551f61f9cf4eedd5b7173f985a3bdb4d9858c (patch)
tree18250fca345339d74a8fed67af29478e852aa998 /src/include/access/heapam.h
parent1ffa59a85cb40a61f4523fb03c8960db97eea124 (diff)
downloadpostgresql-f41551f61f9cf4eedd5b7173f985a3bdb4d9858c.tar.gz
postgresql-f41551f61f9cf4eedd5b7173f985a3bdb4d9858c.zip
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
Diffstat (limited to 'src/include/access/heapam.h')
-rw-r--r--src/include/access/heapam.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/heapam.h b/src/include/access/heapam.h
index 1b6607fe902..eb9e160bfd9 100644
--- a/src/include/access/heapam.h
+++ b/src/include/access/heapam.h
@@ -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 */