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
5b075ae8
Commit
5b075ae8
authored
Apr 09, 2014
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix misc typos in comments.
parent
b0827320
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/snapbuild.c
+6
-6
src/backend/storage/lmgr/predicate.c
src/backend/storage/lmgr/predicate.c
+2
-2
No files found.
src/backend/replication/logical/snapbuild.c
View file @
5b075ae8
...
...
@@ -136,7 +136,7 @@
/*
* This struct contains the current state of the snapshot building
* machinery. Besides a forward declaration in the header, it is not exposed
* to the public, so we can easily change it
'
s contents.
* to the public, so we can easily change its contents.
*/
struct
SnapBuild
{
...
...
@@ -607,7 +607,7 @@ SnapBuildExportSnapshot(SnapBuild *builder)
/*
* Reset a previously SnapBuildExportSnapshot()'ed snapshot if there is
* any. Aborts the previously started transaction and resets the resource
* owner back to it
'
s original value.
* owner back to its original value.
*/
void
SnapBuildClearExportedSnapshot
()
...
...
@@ -1033,7 +1033,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
SnapBuildAddCommittedTxn
(
builder
,
xid
);
}
/* if there's any reason to build a historic snapshot,
t
o so now */
/* if there's any reason to build a historic snapshot,
d
o so now */
if
(
forced_timetravel
||
top_needs_timetravel
||
sub_needs_timetravel
)
{
/*
...
...
@@ -1093,7 +1093,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
*/
/*
* Process a running xacts record, and use it
'
s information to first build a
* Process a running xacts record, and use its information to first build a
* historic snapshot and later to release resources that aren't needed
* anymore.
*/
...
...
@@ -1404,8 +1404,8 @@ typedef struct SnapBuildOnDisk
/*
* Store/Load a snapshot from disk, depending on the snapshot builder's state.
*
* Supposed to be used by external (i.e. not snapbuild.c) code that just read
a
* record that's a potential location for a serialized snapshot.
* Supposed to be used by external (i.e. not snapbuild.c) code that just read
*
a
record that's a potential location for a serialized snapshot.
*/
void
SnapBuildSerializationPoint
(
SnapBuild
*
builder
,
XLogRecPtr
lsn
)
...
...
src/backend/storage/lmgr/predicate.c
View file @
5b075ae8
...
...
@@ -3234,8 +3234,8 @@ ReleasePredicateLocks(bool isCommit)
*
* If this value is changing, we don't care that much whether we get the
* old or new value -- it is just used to determine how far
* GlobalSeri
zableXmin must advance before this transaction can be fully
*
cleaned up.
The worst that could happen is we wait for one more
* GlobalSeri
alizableXmin must advance before this transaction can be
*
fully cleaned up.
The worst that could happen is we wait for one more
* transaction to complete before freeing some RAM; correctness of visible
* behavior is not affected.
*/
...
...
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