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

Commit7b7fbe1

Browse files
committed
Clarify some comments making use of leetspeak term "up2date"
Most of these are new, as ofa8fd13c, and "up-to-date" is much easier toparse for the average reader.Author: Peter SmithDiscussion:https://postgr.es/m/CAHut+PtHbHvgOjs_R9LyDF21j-Wn8SxoTtWMQNP2ifXN6t2cSg@mail.gmail.com
1 parentb048326 commit7b7fbe1

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

‎src/backend/jit/llvm/llvmjit_expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,7 @@ llvm_compile_expr(ExprState *state)
23862386
* Run compiled expression.
23872387
*
23882388
* This will only be called the first time a JITed expression is called. We
2389-
* first make sure the expression is stillup2date, and then get a pointer to
2389+
* first make sure the expression is stillup-to-date, and then get a pointer to
23902390
* the emitted function. The latter can be the first thing that triggers
23912391
* optimizing and emitting all the generated functions.
23922392
*/

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ change_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
10481048
ctx->write_xid=txn->xid;
10491049

10501050
/*
1051-
*report this change's lsn so replies from clients can give anup2date
1051+
*Report this change's lsn so replies from clients can give anup-to-date
10521052
* answer. This won't ever be enough (and shouldn't be!) to confirm
10531053
* receipt of this transaction, but it might allow another transaction's
10541054
* commit to be confirmed with one message.
@@ -1088,7 +1088,7 @@ truncate_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
10881088
ctx->write_xid=txn->xid;
10891089

10901090
/*
1091-
*report this change's lsn so replies from clients can give anup2date
1091+
*Report this change's lsn so replies from clients can give anup-to-date
10921092
* answer. This won't ever be enough (and shouldn't be!) to confirm
10931093
* receipt of this transaction, but it might allow another transaction's
10941094
* commit to be confirmed with one message.
@@ -1225,10 +1225,10 @@ stream_start_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
12251225
ctx->write_xid=txn->xid;
12261226

12271227
/*
1228-
*report this message's lsn so replies from clients can give an up2date
1229-
* answer. This won't ever be enough (and shouldn't be!) to confirm
1230-
* receipt of this transaction, but it might allow another transaction's
1231-
* commit to be confirmed with one message.
1228+
*Report this message's lsn so replies from clients can give an
1229+
*up-to-dateanswer. This won't ever be enough (and shouldn't be!) to
1230+
*confirmreceipt of this transaction, but it might allow another
1231+
*transaction'scommit to be confirmed with one message.
12321232
*/
12331233
ctx->write_location=first_lsn;
12341234

@@ -1272,10 +1272,10 @@ stream_stop_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
12721272
ctx->write_xid=txn->xid;
12731273

12741274
/*
1275-
*report this message's lsn so replies from clients can give an up2date
1276-
* answer. This won't ever be enough (and shouldn't be!) to confirm
1277-
* receipt of this transaction, but it might allow another transaction's
1278-
* commit to be confirmed with one message.
1275+
*Report this message's lsn so replies from clients can give an
1276+
*up-to-dateanswer. This won't ever be enough (and shouldn't be!) to
1277+
*confirmreceipt of this transaction, but it might allow another
1278+
*transaction'scommit to be confirmed with one message.
12791279
*/
12801280
ctx->write_location=last_lsn;
12811281

@@ -1443,7 +1443,7 @@ stream_change_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
14431443
ctx->write_xid=txn->xid;
14441444

14451445
/*
1446-
*report this change's lsn so replies from clients can give anup2date
1446+
*Report this change's lsn so replies from clients can give anup-to-date
14471447
* answer. This won't ever be enough (and shouldn't be!) to confirm
14481448
* receipt of this transaction, but it might allow another transaction's
14491449
* commit to be confirmed with one message.
@@ -1535,7 +1535,7 @@ stream_truncate_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn,
15351535
ctx->write_xid=txn->xid;
15361536

15371537
/*
1538-
*report this change's lsn so replies from clients can give anup2date
1538+
*Report this change's lsn so replies from clients can give anup-to-date
15391539
* answer. This won't ever be enough (and shouldn't be!) to confirm
15401540
* receipt of this transaction, but it might allow another transaction's
15411541
* commit to be confirmed with one message.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp