Skip to content

Commit 148266f

Browse files
committed
Fix collection of typos and grammar mistakes in docs and comments
Author: Justin Pryzby Discussion: https://postgr.es/m/20190330224333.GQ5815@telsasoft.com
1 parent bc540f9 commit 148266f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ EXEC SQL DEALLOCATE PREPARE <replaceable>name</replaceable>;
662662
not really useful in real applications. This section explains in
663663
detail how you can pass data between your C program and the
664664
embedded SQL statements using a simple mechanism called
665-
<firstterm>host variables</firstterm>. In an embedded SQL program we
665+
<firstterm>host variables</firstterm>. In an embedded SQL program we
666666
consider the SQL statements to be <firstterm>guests</firstterm> in the C
667667
program code which is the <firstterm>host language</firstterm>. Therefore
668668
the variables of the C program are called <firstterm>host

doc/src/sgml/ref/create_index.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
181181
</para>
182182

183183
<para>
184-
Currently, the B-tree and the GiST index access methods supports this
184+
Currently, the B-tree and the GiST index access methods support this
185185
feature. In B-tree and the GiST indexes, the values of columns listed
186186
in the <literal>INCLUDE</literal> clause are included in leaf tuples
187187
which correspond to heap tuples, but are not included in upper-level

src/backend/jit/llvm/llvmjit_inline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* for an external function is found - not guaranteed! - the index will then
1010
* be used to judge their instruction count / inline worthiness. After doing
1111
* so for all external functions, all the referenced functions (and
12-
* prerequisites) will be imorted.
12+
* prerequisites) will be imported.
1313
*
1414
* Copyright (c) 2016-2019, PostgreSQL Global Development Group
1515
*

src/backend/optimizer/plan/planner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ typedef struct
118118

119119
/*
120120
* Temporary structure for use during WindowClause reordering in order to be
121-
* be able to sort WindowClauses on partitioning/ordering prefix.
121+
* able to sort WindowClauses on partitioning/ordering prefix.
122122
*/
123123
typedef struct
124124
{

src/backend/utils/hash/dynahash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ hash_destroy(HTAB *hashp)
817817
{
818818
/* allocation method must be one we know how to free, too */
819819
Assert(hashp->alloc == DynaHashAlloc);
820-
/* so this hashtable must have it's own context */
820+
/* so this hashtable must have its own context */
821821
Assert(hashp->hcxt != NULL);
822822

823823
hash_stats("destroy", hashp);

src/interfaces/libpq/fe-auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ pg_fe_sendauth(AuthRequest areq, int payloadlen, PGconn *conn)
879879
case AUTH_REQ_SSPI:
880880

881881
/*
882-
* SSPI has it's own startup message so libpq can decide which
882+
* SSPI has its own startup message so libpq can decide which
883883
* method to use. Indicate to pg_SSPI_startup that we want SSPI
884884
* negotiation instead of Kerberos.
885885
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy