Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitecf70b9

Browse files
committed
Remove unused parameter. Patch by Shigeru Hanada.
1 parent6fbc323 commitecf70b9

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-
staticList*get_rel_oids(Oidrelid,constRangeVar*vacrel,
63-
constchar*stmttype);
62+
staticList*get_rel_oids(Oidrelid,constRangeVar*vacrel);
6463
staticvoidvac_truncate_clog(TransactionIdfrozenXID);
6564
staticvoidvacuum_rel(Oidrelid,VacuumStmt*vacstmt,booldo_toast,
6665
boolfor_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
staticList*
306-
get_rel_oids(Oidrelid,constRangeVar*vacrel,constchar*stmttype)
305+
get_rel_oids(Oidrelid,constRangeVar*vacrel)
307306
{
308307
List*oid_list=NIL;
309308
MemoryContextoldcontext;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp