Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ecf70b91
Commit
ecf70b91
authored
14 years ago
by
Heikki Linnakangas
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused parameter. Patch by Shigeru Hanada.
parent
6fbc323c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/commands/vacuum.c
+3
-4
3 additions, 4 deletions
src/backend/commands/vacuum.c
with
3 additions
and
4 deletions
src/backend/commands/vacuum.c
+
3
−
4
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment