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
0c2914d4
Commit
0c2914d4
authored
Jul 11, 2008
by
Neil Conway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a few typos in comments in snapmgr.c, and sort header inclusions
alphabetically.
parent
7a97abe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/backend/utils/time/snapmgr.c
src/backend/utils/time/snapmgr.c
+6
-6
No files found.
src/backend/utils/time/snapmgr.c
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/05/12 20:02:02 alvherre
Exp $
* $PostgreSQL: pgsql/src/backend/utils/time/snapmgr.c,v 1.
3 2008/07/11 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
;
...
...
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