Skip to content

Commit ecf70b9

Browse files
committed
Remove unused parameter. Patch by Shigeru Hanada.
1 parent 6fbc323 commit ecf70b9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/backend/commands/vacuum.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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);
6463
static void vac_truncate_clog(TransactionId frozenXID);
6564
static void vacuum_rel(Oid relid, VacuumStmt *vacstmt, bool do_toast,
6665
bool 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
*/
305304
static List *
306-
get_rel_oids(Oid relid, const RangeVar *vacrel, const char *stmttype)
305+
get_rel_oids(Oid relid, const RangeVar *vacrel)
307306
{
308307
List *oid_list = NIL;
309308
MemoryContext oldcontext;

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