Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ecf70b91
Commit
ecf70b91
authored
Nov 18, 2010
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameter. Patch by Shigeru Hanada.
parent
6fbc323c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/backend/commands/vacuum.c
src/backend/commands/vacuum.c
+3
-4
No files found.
src/backend/commands/vacuum.c
View file @
ecf70b91
...
@@ -59,8 +59,7 @@ static BufferAccessStrategy vac_strategy;
...
@@ -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,
...
@@ -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,
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment