Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite02e840

Browse files
author
Amit Kapila
committed
Fix typos in decode.c and logical.c.
Per report by Ajin Cherian in email:https://postgr.es/m/CAFPTHDYnRKDvzgDxoMn_CKqXA-D0MtrbyJvfvjBsO4G=UHDXkg@mail.gmail.com
1 parent25dde58 commite02e840

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎src/backend/replication/logical/decode.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -685,10 +685,10 @@ DecodeCommit(LogicalDecodingContext *ctx, XLogRecordBuffer *buf,
685685
* so during startup, to get to the first transaction the client needs. As
686686
* we have reset the catalog caches before starting to read WAL, and we
687687
* haven't yet touched any catalogs, there can't be anything to invalidate.
688-
* But if we're "forgetting" this commit because it's ithappened in
689-
*anotherdatabase, the invalidations might be important, because they
690-
*could befor shared catalogs and we might have loaded data into the
691-
*relevantsyscaches.
688+
* But if we're "forgetting" this commit because ithappened in another
689+
* database, the invalidations might be important, because they could be
690+
* for shared catalogs and we might have loaded data into the relevant
691+
* syscaches.
692692
* ---
693693
*/
694694
if (DecodeTXNNeedSkip(ctx,buf,parsed->dbId,origin_id))

‎src/backend/replication/logical/logical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ stream_commit_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
13711371
ctx->write_xid=txn->xid;
13721372
ctx->write_location=txn->end_lsn;
13731373

1374-
/* in streaming mode,stream_abort_cb is required */
1374+
/* in streaming mode,stream_commit_cb is required */
13751375
if (ctx->callbacks.stream_commit_cb==NULL)
13761376
ereport(ERROR,
13771377
(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp