Skip to content

Commit c80b5f6

Browse files
committed
Fix misc typos.
Oskari Saarenmaa. Backpatch to stable branches where applicable.
1 parent c39f567 commit c80b5f6

File tree

17 files changed

+25
-25
lines changed

17 files changed

+25
-25
lines changed

contrib/btree_gist/btree_ts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ gbt_ts_penalty(PG_FUNCTION_ARGS)
369369
newdbl[2];
370370

371371
/*
372-
* We are allways using "double" timestamps here. Precision should be good
372+
* We are always using "double" timestamps here. Precision should be good
373373
* enough.
374374
*/
375375
orgdbl[0] = ((double) origentry->lower);

contrib/btree_gist/btree_utils_var.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ gbt_var_decompress(PG_FUNCTION_ARGS)
5252
PG_RETURN_POINTER(entry);
5353
}
5454

55-
/* Returns a better readable representaion of variable key ( sets pointer ) */
55+
/* Returns a better readable representation of variable key ( sets pointer ) */
5656
GBT_VARKEY_R
5757
gbt_var_key_readable(const GBT_VARKEY *k)
5858
{

contrib/cube/cube.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ cube_inter(PG_FUNCTION_ARGS)
814814
Max(LL_COORD(b, i), UR_COORD(b, i))
815815
);
816816
}
817-
/* continue on the higher dimemsions only present in 'a' */
817+
/* continue on the higher dimensions only present in 'a' */
818818
for (; i < DIM(a); i++)
819819
{
820820
result->x[i] = Max(0,

doc/src/sgml/ref/alter_role.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
138138
<term>CURRENT_USER</term>
139139
<listitem>
140140
<para>
141-
Alter the current user instead of an explicitely identified role.
141+
Alter the current user instead of an explicitly identified role.
142142
</para>
143143
</listitem>
144144
</varlistentry>
@@ -147,7 +147,7 @@ ALTER ROLE { <replaceable class="PARAMETER">role_specification</replaceable> | A
147147
<term>SESSION_USER</term>
148148
<listitem>
149149
<para>
150-
Alter the current session user instead of an explicitely identified
150+
Alter the current session user instead of an explicitly identified
151151
role.
152152
</para>
153153
</listitem>

doc/src/sgml/release-9.5.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ FIXME: Add Andres
460460
<!--
461461
2014-07-01 [9f03ca9] Robert..: Avoid copying index tuples when building an ind..
462462
-->
463-
Speed up CREATE INDEX by avoiding unneccessary memory copies (Robert Haas)
463+
Speed up CREATE INDEX by avoiding unnecessary memory copies (Robert Haas)
464464
</para>
465465
</listitem>
466466

@@ -1111,7 +1111,7 @@ FIXME: Correct description
11111111
-->
11121112
<para>
11131113
Allow changing of the <acronym>WAL</acronym>
1114-
logging status of a table ater creation with <link
1114+
logging status of a table after creation with <link
11151115
linkend="SQL-ALTERTABLE"><command>ALTER TABLE .. SET LOGGED /
11161116
UNLOGGED</></> (Fabr&iacute;zio de Royes Mello)
11171117
</para>

doc/src/sgml/sources.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ ereport(ERROR,
251251
</listitem>
252252
<listitem>
253253
<para>
254-
<function>errdetail_log_plural(const char *fmt_singuar, const char
254+
<function>errdetail_log_plural(const char *fmt_singular, const char
255255
*fmt_plural, unsigned long n, ...)</function> is like
256256
<function>errdetail_log</>, but with support for various plural forms of
257257
the message.

src/backend/access/brin/brin_revmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ brinRevmapExtend(BrinRevmap *revmap, BlockNumber heapBlk)
127127
* it's not long enough.
128128
*
129129
* The returned buffer is also recorded in the revmap struct; finishing that
130-
* releases the buffer, therefore the caller needn't do it explicitely.
130+
* releases the buffer, therefore the caller needn't do it explicitly.
131131
*/
132132
Buffer
133133
brinLockRevmapPageForUpdate(BrinRevmap *revmap, BlockNumber heapBlk)
@@ -314,7 +314,7 @@ revmap_get_blkno(BrinRevmap *revmap, BlockNumber heapBlk)
314314
* Obtain and return a buffer containing the revmap page for the given heap
315315
* page. The revmap must have been previously extended to cover that page.
316316
* The returned buffer is also recorded in the revmap struct; finishing that
317-
* releases the buffer, therefore the caller needn't do it explicitely.
317+
* releases the buffer, therefore the caller needn't do it explicitly.
318318
*/
319319
static Buffer
320320
revmap_get_buffer(BrinRevmap *revmap, BlockNumber heapBlk)

src/backend/access/common/heaptuple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ heap_modify_tuple(HeapTuple tuple,
805805
* repl information, as appropriate.
806806
*
807807
* NOTE: it's debatable whether to use heap_deform_tuple() here or just
808-
* heap_getattr() only the non-replaced colums. The latter could win if
808+
* heap_getattr() only the non-replaced columns. The latter could win if
809809
* there are many replaced columns and few non-replaced ones. However,
810810
* heap_deform_tuple costs only O(N) while the heap_getattr way would cost
811811
* O(N^2) if there are many non-replaced columns, so it seems better to

src/backend/access/gin/ginfast.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -888,8 +888,8 @@ ginInsertCleanup(GinState *ginstate,
888888
* locking */
889889

890890
/*
891-
* remove readed pages from pending list, at this point all
892-
* content of readed pages is in regular structure
891+
* remove read pages from pending list, at this point all
892+
* content of read pages is in regular structure
893893
*/
894894
if (shiftList(index, metabuffer, blkno, stats))
895895
{

src/backend/access/gist/gistproc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ gist_box_picksplit(PG_FUNCTION_ARGS)
588588
* We first consider splits where b is the lower bound of an entry.
589589
* We iterate through all entries, and for each b, calculate the
590590
* smallest possible a. Then we consider splits where a is the
591-
* uppper bound of an entry, and for each a, calculate the greatest
591+
* upper bound of an entry, and for each a, calculate the greatest
592592
* possible b.
593593
*
594594
* In the above example, the first loop would consider splits:
@@ -638,7 +638,7 @@ gist_box_picksplit(PG_FUNCTION_ARGS)
638638
}
639639

640640
/*
641-
* Iterate over upper bound of left group finding greates possible
641+
* Iterate over upper bound of left group finding greatest possible
642642
* lower bound of right group.
643643
*/
644644
i1 = nentries - 1;

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