diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-01-25 09:40:04 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-01-25 09:40:04 +0900 |
commit | 410aa248e5a883fde4832999cc9b23c7ace0f2ff (patch) | |
tree | e3dba4bbe6b5e60687939a1b04cfaac9a129adb9 /src/backend/replication | |
parent | c817a072aae8441a11d6a0336953ecd69dc548ba (diff) | |
download | postgresql-410aa248e5a883fde4832999cc9b23c7ace0f2ff.tar.gz postgresql-410aa248e5a883fde4832999cc9b23c7ace0f2ff.zip |
Fix various typos, grammar and code style in comments and docs
This fixes a set of issues that have accumulated over the past months
(or years) in various code areas. Most fixes are related to some recent
additions, as of the development of v15.
Author: Justin Pryzby
Discussion: https://postgr.es/m/20220124030001.GQ23027@telsasoft.com
Diffstat (limited to 'src/backend/replication')
-rw-r--r-- | src/backend/replication/logical/logicalfuncs.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/reorderbuffer.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/snapbuild.c | 2 | ||||
-rw-r--r-- | src/backend/replication/logical/worker.c | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/backend/replication/logical/logicalfuncs.c b/src/backend/replication/logical/logicalfuncs.c index 4f633888b4f..4d71e71f686 100644 --- a/src/backend/replication/logical/logicalfuncs.c +++ b/src/backend/replication/logical/logicalfuncs.c @@ -9,7 +9,7 @@ * Copyright (c) 2012-2022, PostgreSQL Global Development Group * * IDENTIFICATION - * src/backend/replication/logicalfuncs.c + * src/backend/replication/logical/logicalfuncs.c *------------------------------------------------------------------------- */ diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index d317a626e1e..19b2ba2000c 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * src/backend/replication/reorderbuffer.c + * src/backend/replication/logical/reorderbuffer.c * * NOTES * This module gets handed individual pieces of transactions in the order diff --git a/src/backend/replication/logical/snapbuild.c b/src/backend/replication/logical/snapbuild.c index ab04e946bc2..83fca8a77d9 100644 --- a/src/backend/replication/logical/snapbuild.c +++ b/src/backend/replication/logical/snapbuild.c @@ -110,7 +110,7 @@ * Copyright (c) 2012-2022, PostgreSQL Global Development Group * * IDENTIFICATION - * src/backend/replication/snapbuild.c + * src/backend/replication/logical/snapbuild.c * *------------------------------------------------------------------------- */ diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c index c9af775bc18..d77bb32bb9e 100644 --- a/src/backend/replication/logical/worker.c +++ b/src/backend/replication/logical/worker.c @@ -2368,7 +2368,7 @@ apply_dispatch(StringInfo s) /* * Set the current command being applied. Since this function can be - * called recusively when applying spooled changes, save the current + * called recursively when applying spooled changes, save the current * command. */ saved_command = apply_error_callback_arg.command; @@ -2587,8 +2587,8 @@ LogicalRepApplyLoop(XLogRecPtr last_received) pgstat_report_activity(STATE_IDLE, NULL); /* - * Push apply error context callback. Fields will be filled during - * applying a change. + * Push apply error context callback. Fields will be filled while applying + * a change. */ errcallback.callback = apply_error_callback; errcallback.previous = error_context_stack; @@ -3608,7 +3608,7 @@ ApplyWorkerMain(Datum main_arg) } ereport(DEBUG1, - (errmsg("logical replication apply worker for subscription \"%s\" two_phase is %s.", + (errmsg("logical replication apply worker for subscription \"%s\" two_phase is %s", MySubscription->name, MySubscription->twophasestate == LOGICALREP_TWOPHASE_STATE_DISABLED ? "DISABLED" : MySubscription->twophasestate == LOGICALREP_TWOPHASE_STATE_PENDING ? "PENDING" : |