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
0c2914d4
Commit
0c2914d4
authored
16 years ago
by
Neil Conway
Browse files
Options
Downloads
Patches
Plain Diff
Fix a few typos in comments in snapmgr.c, and sort header inclusions
alphabetically.
parent
7a97abe8
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/utils/time/snapmgr.c
+6
-6
6 additions, 6 deletions
src/backend/utils/time/snapmgr.c
with
6 additions
and
6 deletions
src/backend/utils/time/snapmgr.c
+
6
−
6
View file @
0c2914d4
...
...
@@ -23,20 +23,20 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.
2
2008/0
5
/1
2 20:02:02 alvherre
Exp $
* $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.
3
2008/0
7
/1
1 00:00:29 neilc
Exp $
*
*-------------------------------------------------------------------------
*/
#include
"postgres.h"
#include
"access/xact.h"
#include
"access/transam.h"
#include
"access/xact.h"
#include
"storage/proc.h"
#include
"storage/procarray.h"
#include
"utils/memutils.h"
#include
"utils/memutils.h"
#include
"utils/snapmgr.h"
#include
"utils/tqual.h"
#include
"utils/memutils.h"
/*
...
...
@@ -70,7 +70,7 @@ TransactionId RecentGlobalXmin = FirstNormalTransactionId;
*
* Note that we keep refcounts both here and in SnapshotData. This is because
* the same snapshot may be registered more than once in a subtransaction, and
* if a subxact aborts we want to be able to sub
s
tract the correct amount of
* if a subxact aborts we want to be able to subtract the correct amount of
* counts from SnapshotData. (Another approach would be keeping one
* RegdSnapshotElt each time a snapshot is registered, but that seems
* unnecessary wastage.)
...
...
@@ -350,7 +350,7 @@ GetActiveSnapshot(void)
/*
* ActiveSnapshotSet
* Return whether there is at least one snapsho in the Active stack
* Return whether there is at least one snapsho
t
in the Active stack
*/
bool
ActiveSnapshotSet
(
void
)
...
...
@@ -628,7 +628,7 @@ AtEOXact_Snapshot(bool isCommit)
}
/*
* And reset our state. We don't need to free the memory explicit
e
ly --
* And reset our state. We don't need to free the memory explicitly --
* it'll go away with TopTransactionContext.
*/
ActiveSnapshot
=
NULL
;
...
...
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