mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +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:
@@ -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.
|
* support retain_dead_tuples and max_retention_duration.
|
||||||
*/
|
*/
|
||||||
CheckSubDeadTupleRetention(true, !opts.enabled, WARNING,
|
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
|
* appropriately to support retain_dead_tuples and
|
||||||
* max_retention_duration.
|
* max_retention_duration.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -1301,7 +1301,7 @@ ApplyLauncherMain(Datum main_arg)
|
|||||||
can_update_xmin &= sub->enabled;
|
can_update_xmin &= sub->enabled;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the slot once the subscription activiates
|
* Initialize the slot once the subscription activates
|
||||||
* retention.
|
* retention.
|
||||||
*/
|
*/
|
||||||
if (!TransactionIdIsValid(MyReplicationSlot->data.xmin))
|
if (!TransactionIdIsValid(MyReplicationSlot->data.xmin))
|
||||||
|
|||||||
Reference in New Issue
Block a user