From: Daniel Gustafsson Date: Mon, 17 Nov 2025 12:37:25 +0000 (+0100) Subject: Fix typos in logical replication code comments X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=ab805989b2ee500cfa060ea36a9133b355bb4f0f;p=postgresql.git Fix typos in logical replication code comments Author: Chao Li Reviewed-by: Daniel Gustafsson Discussion: https://postgr.es/m/CAEoWx2kt8m7wV39_zOBds5SNXx9EAkDqb5cPshk7Bxw6Js4Zpg@mail.gmail.com --- diff --git a/src/backend/commands/subscriptioncmds.c b/src/backend/commands/subscriptioncmds.c index 5930e8c5816..24b70234b35 100644 --- a/src/backend/commands/subscriptioncmds.c +++ b/src/backend/commands/subscriptioncmds.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. */ diff --git a/src/backend/replication/logical/launcher.c b/src/backend/replication/logical/launcher.c index 6214028eda9..fdf1ccad462 100644 --- a/src/backend/replication/logical/launcher.c +++ b/src/backend/replication/logical/launcher.c @@ -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))