Amit Kapila
2026-01-08 09:43:50 +00:00
parent 6ade3cd459
commit 31ddbb38ee
3 changed files with 4 additions and 5 deletions

View File

@ -15,7 +15,7 @@
* * A facility to efficiently store and persist replication progress in an
* efficient and durable manner.
*
* Replication origin consist out of a descriptive, user defined, external
* Replication origin consists of a descriptive, user defined, external
* name and a short, thus space efficient, internal 2 byte one. This split
* exists because replication origin have to be stored in WAL and shared
* memory and long descriptors would be inefficient. For now only use 2 bytes

View File

@ -47,9 +47,8 @@ pgstat_reset_replslot(const char *name)
LWLockAcquire(ReplicationSlotControlLock, LW_SHARED);
/* Check if the slot exits with the given name. */
/* Check if the slot exists with the given name. */
slot = SearchNamedReplicationSlot(name, false);
if (!slot)
ereport(ERROR,
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),

View File

@ -685,7 +685,7 @@ get_op_index_interpretation(Oid opno)
if (!get_opmethod_canorder(op_form->amopmethod))
continue;
/* Get the operator's comparision type */
/* Get the operator's comparison type */
cmptype = IndexAmTranslateStrategy(op_form->amopstrategy,
op_form->amopmethod,
op_form->amopfamily,
@ -729,7 +729,7 @@ get_op_index_interpretation(Oid opno)
if (!amroutine->amcanorder)
continue;
/* Get the operator's comparision type */
/* Get the operator's comparison type */
cmptype = IndexAmTranslateStrategy(op_form->amopstrategy,
op_form->amopmethod,
op_form->amopfamily,