1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

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
This commit is contained in:
Daniel Gustafsson
2025-11-17 13:37:25 +01:00
parent 721bf9ce18
commit ab805989b2
2 changed files with 3 additions and 3 deletions

View File

@@ -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.
*/

View File

@@ -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))