diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-05-26 18:28:18 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-05-26 18:28:18 +0530 |
commit | 9679345f3c5ec071f63db358581e28f06c8744a7 (patch) | |
tree | 12365b3337578d66f41a58d0e2c2966d9eb3acac /src/backend | |
parent | 41205719d34969018f708baa70d9d06dae0c0d08 (diff) | |
download | postgresql-9679345f3c5ec071f63db358581e28f06c8744a7.tar.gz postgresql-9679345f3c5ec071f63db358581e28f06c8744a7.zip |
Fix typos.
Reported-by: Alexander Lakhin
Author: Alexander Lakhin
Reviewed-by: Amit Kapila and Tom Lane
Discussion: https://postgr.es/m/7208de98-add8-8537-91c0-f8b089e2928c@gmail.com
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/access/nbtree/nbtinsert.c | 2 | ||||
-rw-r--r-- | src/backend/access/nbtree/nbtutils.c | 2 | ||||
-rw-r--r-- | src/backend/commands/copy.c | 2 | ||||
-rw-r--r-- | src/backend/commands/tablecmds.c | 2 | ||||
-rw-r--r-- | src/backend/executor/execMain.c | 2 | ||||
-rw-r--r-- | src/backend/executor/execTuples.c | 4 | ||||
-rw-r--r-- | src/backend/jit/llvm/llvmjit_deform.c | 2 | ||||
-rw-r--r-- | src/backend/libpq/hba.c | 2 | ||||
-rw-r--r-- | src/backend/postmaster/syslogger.c | 2 | ||||
-rw-r--r-- | src/backend/statistics/mcv.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/float.c | 2 | ||||
-rw-r--r-- | src/backend/utils/adt/jsonpath_scan.l | 2 | ||||
-rw-r--r-- | src/backend/utils/misc/guc.c | 2 |
13 files changed, 14 insertions, 14 deletions
diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index 2eccc990236..602f8849d4a 100644 --- a/src/backend/access/nbtree/nbtinsert.c +++ b/src/backend/access/nbtree/nbtinsert.c @@ -663,7 +663,7 @@ _bt_check_unique(Relation rel, BTInsertState insertstate, Relation heapRel, * (In a !heapkeyspace index, there can be multiple pages with the same * high key, where the new tuple could legitimately be placed on. In * that case, the caller passes the first page containing duplicates, - * just like when checkinunique=true. If that page doesn't have enough + * just like when checkingunique=true. If that page doesn't have enough * room for the new tuple, this function moves right, trying to find a * legal page that does.) * diff --git a/src/backend/access/nbtree/nbtutils.c b/src/backend/access/nbtree/nbtutils.c index 431b8477e95..93fab264ae4 100644 --- a/src/backend/access/nbtree/nbtutils.c +++ b/src/backend/access/nbtree/nbtutils.c @@ -1344,7 +1344,7 @@ _bt_mark_scankey_required(ScanKey skey) * _bt_preprocess_keys(), above, about how this is done. * * Forward scan callers can pass a high key tuple in the hopes of having - * us set *continuescanthat to false, and avoiding an unnecessary visit to + * us set *continuescan to false, and avoiding an unnecessary visit to * the page to the right. * * scan: index scan descriptor (containing a search-type scankey) diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index a8ff3049094..eca0be1ff96 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -2934,7 +2934,7 @@ CopyFrom(CopyState cstate) else if (contain_volatile_functions(cstate->whereClause)) { /* - * Can't support multi-inserts if there are any volatile funcation + * Can't support multi-inserts if there are any volatile function * expressions in WHERE clause. Similarly to the trigger case above, * such expressions may query the table we're inserting into. */ diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c index c9b8857d306..e34d4ccc148 100644 --- a/src/backend/commands/tablecmds.c +++ b/src/backend/commands/tablecmds.c @@ -3574,7 +3574,7 @@ AlterTableGetLockLevel(List *cmds) /* * Removing constraints can affect SELECTs that have been - * optimised assuming the constraint holds true. See also + * optimized assuming the constraint holds true. See also * CloneFkReferenced. */ case AT_DropConstraint: /* as DROP INDEX */ diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 8c8528b1340..a2bd9a7859b 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -2432,7 +2432,7 @@ ExecBuildAuxRowMark(ExecRowMark *erm, List *targetlist) * inputslot - tuple for processing - this can be the slot from * EvalPlanQualSlot(), for the increased efficiency. * - * This tests whether the tuple in inputslot still matches the relvant + * This tests whether the tuple in inputslot still matches the relevant * quals. For that result to be useful, typically the input tuple has to be * last row version (otherwise the result isn't particularly useful) and * locked (otherwise the result might be out of date). That's typically diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index 968e2039d1e..f785efae65d 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -1602,7 +1602,7 @@ ExecStoreHeapTupleDatum(Datum data, TupleTableSlot *slot) * NB: If materialize is true, modifications of the returned tuple are * allowed. But it depends on the type of the slot whether such modifications * will also affect the slot's contents. While that is not the nicest - * behaviour, all such modifcations are in the process of being removed. + * behaviour, all such modifications are in the process of being removed. */ HeapTuple ExecFetchSlotHeapTuple(TupleTableSlot *slot, bool materialize, bool *shouldFree) @@ -1645,7 +1645,7 @@ ExecFetchSlotHeapTuple(TupleTableSlot *slot, bool materialize, bool *shouldFree) * tuple should be considered as read-only. * * If that callback is not supported, it calls copy_minimal_tuple callback - * which is expected to return a copy of minimal tuple represnting the + * which is expected to return a copy of minimal tuple representing the * contents of the slot. In this case *shouldFree is set to true, * indicating the caller that it should free the memory consumed by the * minimal tuple. In this case the returned minimal tuple may be written diff --git a/src/backend/jit/llvm/llvmjit_deform.c b/src/backend/jit/llvm/llvmjit_deform.c index 33dc6f630ce..835aea83e97 100644 --- a/src/backend/jit/llvm/llvmjit_deform.c +++ b/src/backend/jit/llvm/llvmjit_deform.c @@ -202,7 +202,7 @@ slot_compile_deform(LLVMJitContext *context, TupleDesc desc, LLVMBuildBitCast(b, v_slot, l_ptr(StructMinimalTupleTableSlot), - "minimalslotslot"); + "minimalslot"); v_slotoffp = LLVMBuildStructGEP(b, v_minimalslot, FIELDNO_MINIMALTUPLETABLESLOT_OFF, ""); v_tupleheaderp = l_load_struct_gep(b, v_minimalslot, FIELDNO_MINIMALTUPLETABLESLOT_TUPLE, diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 52ac0d78f73..563d2510198 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -1429,7 +1429,7 @@ parse_hba_line(TokenizedLine *tok_line, int elevel) errmsg("GSSAPI encryption only supports gss, trust, or reject authentication"), errcontext("line %d of configuration file \"%s\"", line_num, HbaFileName))); - *err_msg = "GSSAPI encryption only supports gss, trust, or reject authenticaion"; + *err_msg = "GSSAPI encryption only supports gss, trust, or reject authentication"; return NULL; } diff --git a/src/backend/postmaster/syslogger.c b/src/backend/postmaster/syslogger.c index 5e934e9bfda..bafd31d22bb 100644 --- a/src/backend/postmaster/syslogger.c +++ b/src/backend/postmaster/syslogger.c @@ -1546,7 +1546,7 @@ CheckLogrotateSignal(void) } /* - * Remove the file signaling a log rotateion request. + * Remove the file signaling a log rotation request. */ void RemoveLogrotateSignalFiles(void) diff --git a/src/backend/statistics/mcv.c b/src/backend/statistics/mcv.c index c8c44a53bf0..d1f0fd55e83 100644 --- a/src/backend/statistics/mcv.c +++ b/src/backend/statistics/mcv.c @@ -714,7 +714,7 @@ statext_mcv_serialize(MCVList *mcvlist, VacAttrStats **stats) memcpy(ptr, &tmp, info[dim].typlen); ptr += info[dim].typlen; } - else if (info[dim].typlen > 0) /* pased by reference */ + else if (info[dim].typlen > 0) /* passed by reference */ { /* no special alignment needed, treated as char array */ memcpy(ptr, DatumGetPointer(value), info[dim].typlen); diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index 23649c10000..7540ca22efe 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -506,7 +506,7 @@ float8in_internal_opt_error(char *num, char **endptr_p, } /* - * Interfact to float8in_internal_opt_error() without "have_error" argument. + * Interface to float8in_internal_opt_error() without "have_error" argument. */ double float8in_internal(char *num, char **endptr_p, diff --git a/src/backend/utils/adt/jsonpath_scan.l b/src/backend/utils/adt/jsonpath_scan.l index 84d4f297a89..2165ffcc254 100644 --- a/src/backend/utils/adt/jsonpath_scan.l +++ b/src/backend/utils/adt/jsonpath_scan.l @@ -603,7 +603,7 @@ parseUnicode(char *s, int l) { while (s[++i] != '}' && i < l) ch = (ch << 4) | hexval(s[i]); - i++; /* ski p '}' */ + i++; /* skip '}' */ } else /* parse '\uXXXX' */ { diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 0516940f749..1208eb9a683 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -8968,7 +8968,7 @@ get_explain_guc_options(int *num) break; default: - elog(ERROR, "unexcpected GUC type: %d", conf->vartype); + elog(ERROR, "unexpected GUC type: %d", conf->vartype); } /* skip GUC variables that match the built-in default */ |