diff options
| author | Magnus Hagander <magnus@hagander.net> | 2018-11-02 13:56:16 +0100 |
|---|---|---|
| committer | Magnus Hagander <magnus@hagander.net> | 2018-11-02 13:56:52 +0100 |
| commit | fbec7459aa39da864ad1d578f044a21c3b3b057c (patch) | |
| tree | 79d55688053fef8d9d63099f06f8eca154b5142e /src/backend/utils | |
| parent | 8610c973ddf1cbf0befc1369d2cf0d56c0efcd0a (diff) | |
| download | postgresql-fbec7459aa39da864ad1d578f044a21c3b3b057c.tar.gz | |
Fix spelling errors and typos in comments
Author: Daniel Gustafsson <daniel@yesql.se>
Diffstat (limited to 'src/backend/utils')
| -rw-r--r-- | src/backend/utils/adt/formatting.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/adt/jsonb_util.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/adt/jsonfuncs.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/attoptcache.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/relfilenodemap.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/typcache.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/adt/formatting.c b/src/backend/utils/adt/formatting.c index 4118b78ae4..2923afe7b6 100644 --- a/src/backend/utils/adt/formatting.c +++ b/src/backend/utils/adt/formatting.c @@ -3706,7 +3706,7 @@ to_timestamp(PG_FUNCTION_ARGS) /* ---------- * TO_DATE - * Make Date from date_str which is formated at argument 'fmt' + * Make Date from date_str which is formatted at argument 'fmt' * ---------- */ Datum diff --git a/src/backend/utils/adt/jsonb_util.c b/src/backend/utils/adt/jsonb_util.c index 3be900f8ee..713631b04f 100644 --- a/src/backend/utils/adt/jsonb_util.c +++ b/src/backend/utils/adt/jsonb_util.c @@ -1363,7 +1363,7 @@ compareJsonbScalarValue(JsonbValue *aScalar, JsonbValue *bScalar) /* - * Functions for manipulating the resizeable buffer used by convertJsonb and + * Functions for manipulating the resizable buffer used by convertJsonb and * its subroutines. */ diff --git a/src/backend/utils/adt/jsonfuncs.c b/src/backend/utils/adt/jsonfuncs.c index 06f8d28168..0d3e1121cd 100644 --- a/src/backend/utils/adt/jsonfuncs.c +++ b/src/backend/utils/adt/jsonfuncs.c @@ -5040,7 +5040,7 @@ iterate_jsonb_values(Jsonb *jb, uint32 flags, void *state, /* * Just recursively iterating over jsonb and call callback on all - * correspoding elements + * corresponding elements */ while ((type = JsonbIteratorNext(&it, &v, false)) != WJB_DONE) { diff --git a/src/backend/utils/cache/attoptcache.c b/src/backend/utils/cache/attoptcache.c index 92468472a4..f5c02affcd 100644 --- a/src/backend/utils/cache/attoptcache.c +++ b/src/backend/utils/cache/attoptcache.c @@ -24,7 +24,7 @@ #include "utils/syscache.h" -/* Hash table for informations about each attribute's options */ +/* Hash table for information about each attribute's options */ static HTAB *AttoptCacheHash = NULL; /* attrelid and attnum form the lookup key, and must appear first */ diff --git a/src/backend/utils/cache/relfilenodemap.c b/src/backend/utils/cache/relfilenodemap.c index 6f6bba79c3..34679725b3 100644 --- a/src/backend/utils/cache/relfilenodemap.c +++ b/src/backend/utils/cache/relfilenodemap.c @@ -29,7 +29,7 @@ #include "utils/relfilenodemap.h" #include "utils/relmapper.h" -/* Hash table for informations about each relfilenode <-> oid pair */ +/* Hash table for information about each relfilenode <-> oid pair */ static HTAB *RelfilenodeMapHash = NULL; /* built first time through in InitializeRelfilenodeMap */ diff --git a/src/backend/utils/cache/typcache.c b/src/backend/utils/cache/typcache.c index e38fd16eb0..663d4ed8bb 100644 --- a/src/backend/utils/cache/typcache.c +++ b/src/backend/utils/cache/typcache.c @@ -1869,7 +1869,7 @@ assign_record_type_identifier(Oid type_id, int32 typmod) } /* - * Return the amout of shmem required to hold a SharedRecordTypmodRegistry. + * Return the amount of shmem required to hold a SharedRecordTypmodRegistry. * This exists only to avoid exposing private innards of * SharedRecordTypmodRegistry in a header. */ |
