Fix assorted typos
authorMagnus Hagander <magnus@hagander.net>
Tue, 31 Mar 2020 14:00:06 +0000 (16:00 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 31 Mar 2020 14:00:06 +0000 (16:00 +0200)
Author: Daniel Gustafsson <daniel@yesql.se>

doc/src/sgml/ref/psql-ref.sgml
src/backend/storage/ipc/procarray.c
src/backend/tcop/postgres.c
src/backend/utils/adt/jsonfuncs.c
src/backend/utils/mb/stringinfo_mb.c
src/bin/pg_dump/pg_dump.c
src/include/access/attmap.h

index 402c4b1b266d3de104073ef00a87ebaa39f2cb1f..39f58c4ea24f4ef1a3d3a8d7aed50ae3f9a20597 100644 (file)
@@ -1293,7 +1293,7 @@ testdb=&gt;
         is specified, only members of operator families associated with access
         methods whose names match pattern are listed.
         If <replaceable class="parameter">input-type-pattern</replaceable>
-        is specified, only memeber of operator families whose names match the
+        is specified, only members of operator families whose names match the
         pattern are listed.
         If <literal>+</literal> is appended to the command name, each operator
         is listed with its strategy number, purpose and sort operator family.
@@ -1316,7 +1316,7 @@ testdb=&gt;
         is specified, only members of operator families associated with access
         methods whose names match pattern are listed.
         If <replaceable class="parameter">input-type-pattern</replaceable>
-        is specified, only memeber of operator families whose names match the
+        is specified, only members of operator families whose names match the
         pattern are listed.
         </para>
         </listitem>
index cfb88db4a4d2ded17bfb306a52627778c2cb50bc..738c0484d33c3c1c7d499dad58ef7a9bfa9cbc78 100644 (file)
@@ -3028,7 +3028,7 @@ TerminateOtherDBBackends(Oid databaseId)
 
        /*
         * Check whether we have the necessary rights to terminate other
-        * sessions.  We don't terminate any session untill we ensure that we
+        * sessions.  We don't terminate any session until we ensure that we
         * have rights on all the sessions to be terminated.  These checks are
         * the same as we do in pg_terminate_backend.
         *
index 21214317a79578e45836ae8a05259b80c0fafb87..5b677863b9c4de661b4bb67ff755e76b014201d1 100644 (file)
@@ -2338,7 +2338,7 @@ check_log_duration(char *msec_str, bool was_logged)
 
        /*
         * Do not log if log_statement_sample_rate = 0. Log a sample if
-        * log_statement_sample_rate <= 1 and avoid unecessary random() call
+        * log_statement_sample_rate <= 1 and avoid unnecessary random() call
         * if log_statement_sample_rate = 1.
         */
        if (exceeded_sample_duration)
index 4b5007e0d6fdd8c9c7411fb804190075b1d95ff9..9b86bdcb22a72d30fb8e7fe27afaf7f31c437ab1 100644 (file)
@@ -489,7 +489,7 @@ static void transform_string_values_scalar(void *state, char *token, JsonTokenTy
 /*
  * pg_parse_json_or_ereport
  *
- * This fuction is like pg_parse_json, except that it does not return a
+ * This function is like pg_parse_json, except that it does not return a
  * JsonParseErrorType. Instead, in case of any failure, this function will
  * ereport(ERROR).
  */
index 791a667daea9a3ecde00a0089166c7978d4a7197..d7cf3751aa30f81b29f77844dc9053f4c3bff2db 100644 (file)
@@ -1,7 +1,7 @@
 /*-------------------------------------------------------------------------
  *
  * stringinfo_mb.c
- *     Multibyte encoding-aware additional StringInfo facilites
+ *     Multibyte encoding-aware additional StringInfo facilities
  *
  * This is separate from common/stringinfo.c so that frontend users
  * of that file need not pull in unnecessary multibyte-encoding support
index 1849dfe3d79afd0df110f765c04685f5aeae1b9a..408637cfec4ef31bdc0d89238399e89a391fd3ba 100644 (file)
@@ -16719,7 +16719,7 @@ dumpStatisticsExt(Archive *fout, StatsExtInfo *statsextinfo)
 
    /*
     * We only issue an ALTER STATISTICS statement if the stxstattarget entry
-    * for this statictics object is non-negative (i.e. it's not the default
+    * for this statistics object is non-negative (i.e. it's not the default
     * value).
     */
    if (statsextinfo->stattarget >= 0)
index 40f037a24ecdef8689707cde765bf199640c3537..64bc7158a97174e3221d33a4f933a5737d45fee4 100644 (file)
@@ -40,7 +40,7 @@ typedef struct AttrMap
 extern AttrMap *make_attrmap(int maplen);
 extern void free_attrmap(AttrMap *map);
 
-/* Convertion routines to build mappings */
+/* Conversion routines to build mappings */
 extern AttrMap *build_attrmap_by_name(TupleDesc indesc,
                                      TupleDesc outdesc);
 extern AttrMap *build_attrmap_by_name_if_req(TupleDesc indesc,