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
55d57359
Commit
55d57359
authored
Jul 18, 2016
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in comments and debug message
Antonin Houska
parent
7d676065
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/backend/replication/logical/logical.c
src/backend/replication/logical/logical.c
+2
-2
src/backend/replication/logical/reorderbuffer.c
src/backend/replication/logical/reorderbuffer.c
+2
-2
src/backend/replication/logical/snapbuild.c
src/backend/replication/logical/snapbuild.c
+2
-2
No files found.
src/backend/replication/logical/logical.c
View file @
55d57359
...
@@ -281,7 +281,7 @@ CreateInitDecodingContext(char *plugin,
...
@@ -281,7 +281,7 @@ CreateInitDecodingContext(char *plugin,
LWLockRelease
(
ProcArrayLock
);
LWLockRelease
(
ProcArrayLock
);
/*
/*
* tell the snapshot builder to only assemble snapshot once reaching the
a
* tell the snapshot builder to only assemble snapshot once reaching the
* running_xact's record with the respective xmin.
* running_xact's record with the respective xmin.
*/
*/
xmin_horizon
=
slot
->
data
.
catalog_xmin
;
xmin_horizon
=
slot
->
data
.
catalog_xmin
;
...
@@ -880,7 +880,7 @@ LogicalIncreaseRestartDecodingForSlot(XLogRecPtr current_lsn, XLogRecPtr restart
...
@@ -880,7 +880,7 @@ LogicalIncreaseRestartDecodingForSlot(XLogRecPtr current_lsn, XLogRecPtr restart
}
}
/*
/*
* Handle a consumer's conf
o
rmation having received all changes up to lsn.
* Handle a consumer's conf
i
rmation having received all changes up to lsn.
*/
*/
void
void
LogicalConfirmReceivedLocation
(
XLogRecPtr
lsn
)
LogicalConfirmReceivedLocation
(
XLogRecPtr
lsn
)
...
...
src/backend/replication/logical/reorderbuffer.c
View file @
55d57359
...
@@ -466,8 +466,8 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
...
@@ -466,8 +466,8 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
/*
/*
* Most tuples are below MaxHeapTupleSize, so we use a slab allocator for
* Most tuples are below MaxHeapTupleSize, so we use a slab allocator for
* those. Thus always allocate at least MaxHeapTupleSize. Note that tuples
* those. Thus always allocate at least MaxHeapTupleSize. Note that tuples
*
tuples generated for oldtuples can be bigger, as they don't hav
e
*
generated for oldtuples can be bigger, as they don't have out-of-lin
e
*
out-of-line
toast columns.
* toast columns.
*/
*/
if
(
alloc_len
<
MaxHeapTupleSize
)
if
(
alloc_len
<
MaxHeapTupleSize
)
alloc_len
=
MaxHeapTupleSize
;
alloc_len
=
MaxHeapTupleSize
;
...
...
src/backend/replication/logical/snapbuild.c
View file @
55d57359
...
@@ -901,7 +901,7 @@ SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid)
...
@@ -901,7 +901,7 @@ SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid)
/*
/*
* NB: This handles subtransactions correctly even if we started from
* NB: This handles subtransactions correctly even if we started from
* suboverflowed xl_running_xacts because we only keep track of toplevel
* suboverflowed xl_running_xacts because we only keep track of toplevel
* transactions. Since the latter are always a
re a
llocated before their
* transactions. Since the latter are always allocated before their
* subxids and since they end at the same time it's sufficient to deal
* subxids and since they end at the same time it's sufficient to deal
* with them here.
* with them here.
*/
*/
...
@@ -981,7 +981,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
...
@@ -981,7 +981,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
* we reached consistency.
* we reached consistency.
*/
*/
forced_timetravel
=
true
;
forced_timetravel
=
true
;
elog
(
DEBUG1
,
"forced to assume catalog changes for xid %u because it was running to early"
,
xid
);
elog
(
DEBUG1
,
"forced to assume catalog changes for xid %u because it was running to
o
early"
,
xid
);
}
}
for
(
nxact
=
0
;
nxact
<
nsubxacts
;
nxact
++
)
for
(
nxact
=
0
;
nxact
<
nsubxacts
;
nxact
++
)
...
...
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