mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
Remove various duplicated words
Author: Justin Pryzby Discussion: https://postgr.es/m/20220919111000.GW31833@telsasoft.com
This commit is contained in:
@@ -556,7 +556,7 @@ pgstat_initialize(void)
|
||||
* suggested idle timeout is returned. Currently this is always
|
||||
* PGSTAT_IDLE_INTERVAL (10000ms). Callers can use the returned time to set up
|
||||
* a timeout after which to call pgstat_report_stat(true), but are not
|
||||
* required to to do so.
|
||||
* required to do so.
|
||||
*
|
||||
* Note that this is called only when not within a transaction, so it is fair
|
||||
* to use transaction stop time as an approximation of current time.
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
* storage implementation and the details about individual types of
|
||||
* statistics.
|
||||
*
|
||||
* Replication slot stats work a bit different than other other
|
||||
* variable-numbered stats. Slots do not have oids (so they can be created on
|
||||
* physical replicas). Use the slot index as object id while running. However,
|
||||
* the slot index can change when restarting. That is addressed by using the
|
||||
* name when (de-)serializing. After a restart it is possible for slots to
|
||||
* have been dropped while shut down, which is addressed by not restoring
|
||||
* stats for slots that cannot be found by name when starting up.
|
||||
* Replication slot stats work a bit different than other variable-numbered
|
||||
* stats. Slots do not have oids (so they can be created on physical
|
||||
* replicas). Use the slot index as object id while running. However, the slot
|
||||
* index can change when restarting. That is addressed by using the name when
|
||||
* (de-)serializing. After a restart it is possible for slots to have been
|
||||
* dropped while shut down, which is addressed by not restoring stats for
|
||||
* slots that cannot be found by name when starting up.
|
||||
*
|
||||
* Copyright (c) 2001-2022, PostgreSQL Global Development Group
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user