diff options
author | David Rowley <drowley@postgresql.org> | 2024-08-12 23:27:09 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2024-08-12 23:27:09 +1200 |
commit | ffabb56c9460b8e2a3fffeea6263a61590ba006d (patch) | |
tree | 085063014540b97d8733aedc2de0df089b21a492 /src/backend/utils | |
parent | 8de5ca1dc9fa809102acd1983ee19159d0bc469f (diff) | |
download | postgresql-ffabb56c9460b8e2a3fffeea6263a61590ba006d.tar.gz postgresql-ffabb56c9460b8e2a3fffeea6263a61590ba006d.zip |
Fix a series of typos and outdated references
Author: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/c1d63754-cb85-2d8a-8409-bde2c4d2d04b@gmail.com
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/activity/pgstat_shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/activity/pgstat_shmem.c b/src/backend/utils/activity/pgstat_shmem.c index fd09b9d988b..ec93bf6902f 100644 --- a/src/backend/utils/activity/pgstat_shmem.c +++ b/src/backend/utils/activity/pgstat_shmem.c @@ -80,7 +80,7 @@ static const dshash_parameters dsh_params = { * compares to their copy of pgStatSharedRefAge on a regular basis. */ static pgstat_entry_ref_hash_hash *pgStatEntryRefHash = NULL; -static int pgStatSharedRefAge = 0; /* cache age of pgStatShmLookupCache */ +static int pgStatSharedRefAge = 0; /* cache age of pgStatLocal.shmem */ /* * Memory contexts containing the pgStatEntryRefHash table and the @@ -887,7 +887,7 @@ pgstat_drop_database_and_contents(Oid dboid) /* * If some of the stats data could not be freed, signal the reference - * holders to run garbage collection of their cached pgStatShmLookupCache. + * holders to run garbage collection of their cached pgStatLocal.shmem. */ if (not_freed_count > 0) pgstat_request_entry_refs_gc(); |