aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-04-19 16:57:40 +0900
committerMichael Paquier <michael@paquier.xyz>2019-04-19 16:57:40 +0900
commit148266fa354a47543f6c0325cd1ea900ead4aac6 (patch)
tree7a02a864fe55fbe916adf3d2887551f20e84feb7 /src/backend
parentbc540f98599b875e7ee67086291cdb96997db3fc (diff)
downloadpostgresql-148266fa354a47543f6c0325cd1ea900ead4aac6.tar.gz
postgresql-148266fa354a47543f6c0325cd1ea900ead4aac6.zip
Fix collection of typos and grammar mistakes in docs and comments
Author: Justin Pryzby Discussion: https://postgr.es/m/20190330224333.GQ5815@telsasoft.com
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/jit/llvm/llvmjit_inline.cpp2
-rw-r--r--src/backend/optimizer/plan/planner.c2
-rw-r--r--src/backend/utils/hash/dynahash.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/jit/llvm/llvmjit_inline.cpp b/src/backend/jit/llvm/llvmjit_inline.cpp
index 96fc68a3561..07b5fc7b38e 100644
--- a/src/backend/jit/llvm/llvmjit_inline.cpp
+++ b/src/backend/jit/llvm/llvmjit_inline.cpp
@@ -9,7 +9,7 @@
* for an external function is found - not guaranteed! - the index will then
* be used to judge their instruction count / inline worthiness. After doing
* so for all external functions, all the referenced functions (and
- * prerequisites) will be imorted.
+ * prerequisites) will be imported.
*
* Copyright (c) 2016-2019, PostgreSQL Global Development Group
*
diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c
index 5ed691c2e32..0a6710c73b9 100644
--- a/src/backend/optimizer/plan/planner.c
+++ b/src/backend/optimizer/plan/planner.c
@@ -118,7 +118,7 @@ typedef struct
/*
* Temporary structure for use during WindowClause reordering in order to be
- * be able to sort WindowClauses on partitioning/ordering prefix.
+ * able to sort WindowClauses on partitioning/ordering prefix.
*/
typedef struct
{
diff --git a/src/backend/utils/hash/dynahash.c b/src/backend/utils/hash/dynahash.c
index 9dc2a551c0f..0dfbec8e3ec 100644
--- a/src/backend/utils/hash/dynahash.c
+++ b/src/backend/utils/hash/dynahash.c
@@ -817,7 +817,7 @@ hash_destroy(HTAB *hashp)
{
/* allocation method must be one we know how to free, too */
Assert(hashp->alloc == DynaHashAlloc);
- /* so this hashtable must have it's own context */
+ /* so this hashtable must have its own context */
Assert(hashp->hcxt != NULL);
hash_stats("destroy", hashp);