Remove unused parameter. Patch by Shigeru Hanada.
This commit is contained in:
parent
6fbc323c80
commit
ecf70b916b
@ -59,8 +59,7 @@ static BufferAccessStrategy vac_strategy;
|
|||||||
|
|
||||||
|
|
||||||
/* non-export function prototypes */
|
/* non-export function prototypes */
|
||||||
static List *get_rel_oids(Oid relid, const RangeVar *vacrel,
|
static List *get_rel_oids(Oid relid, const RangeVar *vacrel);
|
||||||
const char *stmttype);
|
|
||||||
static void vac_truncate_clog(TransactionId frozenXID);
|
static void vac_truncate_clog(TransactionId frozenXID);
|
||||||
static void vacuum_rel(Oid relid, VacuumStmt *vacstmt, bool do_toast,
|
static void vacuum_rel(Oid relid, VacuumStmt *vacstmt, bool do_toast,
|
||||||
bool for_wraparound, bool *scanned_all);
|
bool for_wraparound, bool *scanned_all);
|
||||||
@ -161,7 +160,7 @@ vacuum(VacuumStmt *vacstmt, Oid relid, bool do_toast,
|
|||||||
* Build list of relations to process, unless caller gave us one. (If we
|
* Build list of relations to process, unless caller gave us one. (If we
|
||||||
* build one, we put it in vac_context for safekeeping.)
|
* build one, we put it in vac_context for safekeeping.)
|
||||||
*/
|
*/
|
||||||
relations = get_rel_oids(relid, vacstmt->relation, stmttype);
|
relations = get_rel_oids(relid, vacstmt->relation);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Decide whether we need to start/commit our own transactions.
|
* Decide whether we need to start/commit our own transactions.
|
||||||
@ -303,7 +302,7 @@ vacuum(VacuumStmt *vacstmt, Oid relid, bool do_toast,
|
|||||||
* per-relation transactions.
|
* per-relation transactions.
|
||||||
*/
|
*/
|
||||||
static List *
|
static List *
|
||||||
get_rel_oids(Oid relid, const RangeVar *vacrel, const char *stmttype)
|
get_rel_oids(Oid relid, const RangeVar *vacrel)
|
||||||
{
|
{
|
||||||
List *oid_list = NIL;
|
List *oid_list = NIL;
|
||||||
MemoryContext oldcontext;
|
MemoryContext oldcontext;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user