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
40fc4575
Commit
40fc4575
authored
8 years ago
by
Stephen Frost
Browse files
Options
Downloads
Patches
Plain Diff
Minor typos / copy-editing for snapmgr.c
Noticed while reviewing snapshot management.
parent
d8c2dccf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/backend/utils/time/snapmgr.c
+5
-5
5 additions, 5 deletions
src/backend/utils/time/snapmgr.c
with
5 additions
and
5 deletions
src/backend/utils/time/snapmgr.c
+
5
−
5
View file @
40fc4575
...
...
@@ -20,7 +20,7 @@
* tracked by any resource owner.
*
* The same is true for historic snapshots used during logical decoding,
* their lifetime is managed separately (as they li
f
e longer as one xact.c
* their lifetime is managed separately (as they li
v
e longer as one xact.c
* transaction).
*
* These arrangements let us reset MyPgXact->xmin when there are no snapshots
...
...
@@ -228,7 +228,7 @@ static void SnapshotResetXmin(void);
* Snapshot fields to be serialized.
*
* Only these fields need to be sent to the cooperating backend; the
* remaining ones can (and must) set by the receiver upon restore.
* remaining ones can (and must)
be
set by the receiver upon restore.
*/
typedef
struct
SerializedSnapshotData
{
...
...
@@ -709,8 +709,8 @@ UpdateActiveSnapshotCommandId(void)
/*
* Don't allow modification of the active snapshot during parallel
* operation. We share the snapshot to worker backends at beginning of
* parallel operation, so any change to snapshot can lead to
* operation. We share the snapshot to worker backends at
the
beginning of
* parallel operation, so any change to
the
snapshot can lead to
* inconsistencies. We have other defenses against
* CommandCounterIncrement, but there are a few places that call this
* directly, so we put an additional guard here.
...
...
@@ -1892,7 +1892,7 @@ HistoricSnapshotGetTupleCids(void)
/*
* EstimateSnapshotSpace
* Returns the size need to store the given snapshot.
* Returns the size need
ed
to store the given snapshot.
*
* We are exporting only required fields from the Snapshot, stored in
* SerializedSnapshotData.
...
...
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