summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorDavid Rowley2023-04-19 01:50:33 +0000
committerDavid Rowley2023-04-19 01:50:33 +0000
commit3f58a4e2960a9509036b7d94beab64a747dc59dc (patch)
treeb2e8ef0ecb63cfe29d179685cdc408534d12e235 /src/include/utils
parentfcb21b3acdcb9a60313325618fd7080aa36f1626 (diff)
Fix various typos and incorrect/outdated name references
Author: Alexander Lakhin Discussion: https://postgr.es/m/699beab4-a6ca-92c9-f152-f559caf6dc25@gmail.com
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/pgstat_internal.h2
-rw-r--r--src/include/utils/sortsupport.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/pgstat_internal.h b/src/include/utils/pgstat_internal.h
index 6badb2fde4b..60fbf9394b9 100644
--- a/src/include/utils/pgstat_internal.h
+++ b/src/include/utils/pgstat_internal.h
@@ -102,7 +102,7 @@ typedef struct PgStatShared_HashEntry
} PgStatShared_HashEntry;
/*
- * Common header struct for PgStatShm_Stat*Entry.
+ * Common header struct for PgStatShared_*.
*/
typedef struct PgStatShared_Common
{
diff --git a/src/include/utils/sortsupport.h b/src/include/utils/sortsupport.h
index aaca6634cbe..475ed1d5b82 100644
--- a/src/include/utils/sortsupport.h
+++ b/src/include/utils/sortsupport.h
@@ -372,7 +372,7 @@ ApplySortAbbrevFullComparator(Datum datum1, bool isNull1,
/*
* Datum comparison functions that we have specialized sort routines for.
- * Datatypes that install these as their comparator or abbrevated comparator
+ * Datatypes that install these as their comparator or abbreviated comparator
* are eligible for faster sorting.
*/
extern int ssup_datum_unsigned_cmp(Datum x, Datum y, SortSupport ssup);