From caa69865171ee8b21348e1dc2f1cbdff8e96dd69 Mon Sep 17 00:00:00 2001 From: Peter Smith Date: Wed, 28 Jul 2021 09:19:25 +1000 Subject: [PATCH v1] Replace leetspeak comments with English --- src/backend/jit/llvm/llvmjit_expr.c | 2 +- src/backend/replication/logical/logical.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/backend/jit/llvm/llvmjit_expr.c b/src/backend/jit/llvm/llvmjit_expr.c index 8a4075b..6d11812 100644 --- a/src/backend/jit/llvm/llvmjit_expr.c +++ b/src/backend/jit/llvm/llvmjit_expr.c @@ -2386,7 +2386,7 @@ llvm_compile_expr(ExprState *state) * Run compiled expression. * * This will only be called the first time a JITed expression is called. We - * first make sure the expression is still up2date, and then get a pointer to + * first make sure the expression is still up-to-date, and then get a pointer to * the emitted function. The latter can be the first thing that triggers * optimizing and emitting all the generated functions. */ diff --git a/src/backend/replication/logical/logical.c b/src/backend/replication/logical/logical.c index d61ef4c..42f47fd 100644 --- a/src/backend/replication/logical/logical.c +++ b/src/backend/replication/logical/logical.c @@ -1048,7 +1048,7 @@ change_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this change's lsn so replies from clients can give an up2date + * report this change's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. @@ -1088,7 +1088,7 @@ truncate_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this change's lsn so replies from clients can give an up2date + * report this change's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. @@ -1225,7 +1225,7 @@ stream_start_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this message's lsn so replies from clients can give an up2date + * report this message's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. @@ -1272,7 +1272,7 @@ stream_stop_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this message's lsn so replies from clients can give an up2date + * report this message's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. @@ -1443,7 +1443,7 @@ stream_change_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this change's lsn so replies from clients can give an up2date + * report this change's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. @@ -1535,7 +1535,7 @@ stream_truncate_cb_wrapper(ReorderBuffer *cache, ReorderBufferTXN *txn, ctx->write_xid = txn->xid; /* - * report this change's lsn so replies from clients can give an up2date + * report this change's lsn so replies from clients can give an up-to-date * answer. This won't ever be enough (and shouldn't be!) to confirm * receipt of this transaction, but it might allow another transaction's * commit to be confirmed with one message. -- 1.8.3.1