]> granicus.if.org Git - postgresql/commitdiff
Fix collection of typos and grammar mistakes in docs and comments
authorMichael Paquier <michael@paquier.xyz>
Fri, 19 Apr 2019 07:57:40 +0000 (16:57 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 19 Apr 2019 07:57:40 +0000 (16:57 +0900)
Author: Justin Pryzby
Discussion: https://postgr.es/m/20190330224333.GQ5815@telsasoft.com

doc/src/sgml/ecpg.sgml
doc/src/sgml/ref/create_index.sgml
src/backend/jit/llvm/llvmjit_inline.cpp
src/backend/optimizer/plan/planner.c
src/backend/utils/hash/dynahash.c
src/interfaces/libpq/fe-auth.c

index 1bd7cf4ebd6aca520224f3b90c52bb91278dd608..6641eee440c608ca580350011e7c95b4ca7a9663 100644 (file)
@@ -662,7 +662,7 @@ EXEC SQL DEALLOCATE PREPARE <replaceable>name</replaceable>;
    not really useful in real applications.  This section explains in
    detail how you can pass data between your C program and the
    embedded SQL statements using a simple mechanism called
-   <firstterm>host variables</firstterm>. In an embedded SQL program  we
+   <firstterm>host variables</firstterm>. In an embedded SQL program we
    consider the SQL statements to be <firstterm>guests</firstterm> in the C
    program code which is the <firstterm>host language</firstterm>. Therefore
    the variables of the C program are called <firstterm>host
index 521e32b197c114b58a74b71c79d4a04ad2e348d7..30bb38bf62ec88ce93d5d70f41f25d5f8470c763 100644 (file)
@@ -181,7 +181,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
        </para>
 
        <para>
-        Currently, the B-tree and the GiST index access methods supports this
+        Currently, the B-tree and the GiST index access methods support this
         feature.  In B-tree and the GiST indexes, the values of columns listed
         in the <literal>INCLUDE</literal> clause are included in leaf tuples
         which correspond to heap tuples, but are not included in upper-level
index 96fc68a3561ad6041f56899cafd99c69c03ffb51..07b5fc7b38edcea86ca5ad4696d79e0335656649 100644 (file)
@@ -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
  *
index 5ed691c2e32d1859ba9bb7e399d64678bbb0cc88..0a6710c73b9283424012a7abb070970c29a7ffd7 100644 (file)
@@ -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
 {
index 9dc2a551c0f0d7d831105a1957d3ad79ad356bf2..0dfbec8e3ecf246a406766dc887f027525261a9e 100644 (file)
@@ -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);
index 624e02bcaae037d9e46f6ac6a7725c2c9f522b4c..bb04e27e2fed73ba6e03c8444dcfc2d3d590916d 100644 (file)
@@ -879,7 +879,7 @@ pg_fe_sendauth(AuthRequest areq, int payloadlen, PGconn *conn)
                case AUTH_REQ_SSPI:
 
                        /*
-                        * SSPI has it's own startup message so libpq can decide which
+                        * SSPI has its own startup message so libpq can decide which
                         * method to use. Indicate to pg_SSPI_startup that we want SSPI
                         * negotiation instead of Kerberos.
                         */