@@ -59,8 +59,7 @@ static BufferAccessStrategy vac_strategy;
5959
6060
6161/* non-export function prototypes */
62- static List * get_rel_oids (Oid relid ,const RangeVar * vacrel ,
63- const char * stmttype );
62+ static List * get_rel_oids (Oid relid ,const RangeVar * vacrel );
6463static void vac_truncate_clog (TransactionId frozenXID );
6564static void vacuum_rel (Oid relid ,VacuumStmt * vacstmt ,bool do_toast ,
6665bool for_wraparound ,bool * scanned_all );
@@ -161,7 +160,7 @@ vacuum(VacuumStmt *vacstmt, Oid relid, bool do_toast,
161160 * Build list of relations to process, unless caller gave us one. (If we
162161 * build one, we put it in vac_context for safekeeping.)
163162 */
164- relations = get_rel_oids (relid ,vacstmt -> relation , stmttype );
163+ relations = get_rel_oids (relid ,vacstmt -> relation );
165164
166165/*
167166 * Decide whether we need to start/commit our own transactions.
@@ -303,7 +302,7 @@ vacuum(VacuumStmt *vacstmt, Oid relid, bool do_toast,
303302 * per-relation transactions.
304303 */
305304static List *
306- get_rel_oids (Oid relid ,const RangeVar * vacrel , const char * stmttype )
305+ get_rel_oids (Oid relid ,const RangeVar * vacrel )
307306{
308307List * oid_list = NIL ;
309308MemoryContext oldcontext ;