Fix typos in logical replication code comments

Author: Chao Li <lic@highgo.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAEoWx2kt8m7wV39_zOBds5SNXx9EAkDqb5cPshk7Bxw6Js4Zpg@mail.gmail.com
pull/248/head
Daniel Gustafsson 1 month ago
parent 721bf9ce18
commit ab805989b2
  1. 4
      src/backend/commands/subscriptioncmds.c
  2. 2
      src/backend/replication/logical/launcher.c

@ -680,7 +680,7 @@ CreateSubscription(ParseState *pstate, CreateSubscriptionStmt *stmt,
}
/*
* Ensure that system configuration paramters are set appropriately to
* Ensure that system configuration parameters are set appropriately to
* support retain_dead_tuples and max_retention_duration.
*/
CheckSubDeadTupleRetention(true, !opts.enabled, WARNING,
@ -1637,7 +1637,7 @@ AlterSubscription(ParseState *pstate, AlterSubscriptionStmt *stmt,
}
/*
* Ensure that system configuration paramters are set
* Ensure that system configuration parameters are set
* appropriately to support retain_dead_tuples and
* max_retention_duration.
*/

@ -1301,7 +1301,7 @@ ApplyLauncherMain(Datum main_arg)
can_update_xmin &= sub->enabled;
/*
* Initialize the slot once the subscription activiates
* Initialize the slot once the subscription activates
* retention.
*/
if (!TransactionIdIsValid(MyReplicationSlot->data.xmin))

Loading…
Cancel
Save