Skip to content

Commit e1623c3

Browse files
committed
Fix various common mispellings.
Mostly these are just comments but there are a few in documentation and a handful in code and tests. Hopefully this doesn't cause too much unnecessary pain for backpatching. I relented from some of the most common like "thru" for that reason. The rest don't seem numerous enough to cause problems. Thanks to Kevin Lyda's tool https://pypi.python.org/pypi/misspellings
1 parent ee4af34 commit e1623c3

File tree

26 files changed

+35
-35
lines changed

26 files changed

+35
-35
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2518,7 +2518,7 @@ include_dir 'conf.d'
25182518
less than <varname>wal_writer_flush_after</> bytes of WAL have been
25192519
produced since, WAL is only written to the OS, not flushed to disk.
25202520
If <varname>wal_writer_flush_after</> is set to <literal>0</> WAL is
2521-
flushed everytime the WAL writer has written WAL. The default is
2521+
flushed every time the WAL writer has written WAL. The default is
25222522
<literal>1MB</literal>. This parameter can only be set in the
25232523
<filename>postgresql.conf</> file or on the server command line.
25242524
</para>

doc/src/sgml/pgcrypto.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ Applies to: pgp_sym_encrypt
866866
be a value between 1024 and 65011712, inclusive.
867867
</para>
868868
<literallayout>
869-
Default: A random value bewteen 65536 and 253952
869+
Default: A random value between 65536 and 253952
870870
Applies to: pgp_sym_encrypt, only with s2k-mode=3
871871
</literallayout>
872872
</sect4>

doc/src/sgml/ref/psql-ref.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4168,7 +4168,7 @@ testdb=&gt; <userinput>\crosstabview first second</userinput>
41684168
</programlisting>
41694169

41704170
This second example shows a multiplication table with rows sorted in reverse
4171-
numerical order and columns with an independant, ascending numerical order.
4171+
numerical order and columns with an independent, ascending numerical order.
41724172
<programlisting>
41734173
testdb=&gt; <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput>
41744174
testdb(&gt; <userinput>row_number() over(order by t2.first) AS ord</userinput>

src/backend/access/transam/generic_xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct GenericXLogState
6464
/*
6565
* page's images. Should be first in this struct to have MAXALIGN'ed
6666
* images addresses, because some code working with pages directly aligns
67-
* addresses, not an offsets from begining of page
67+
* addresses, not offsets from beginning of page
6868
*/
6969
char images[MAX_GENERIC_XLOG_PAGES * BLCKSZ];
7070
PageData pages[MAX_GENERIC_XLOG_PAGES];

src/backend/catalog/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
297297
namespaceId = LookupExplicitNamespace(relation->schemaname, missing_ok);
298298

299299
/*
300-
* For missing_ok, allow a non-existant schema name to
300+
* For missing_ok, allow a non-existent schema name to
301301
* return InvalidOid.
302302
*/
303303
if (namespaceId != myTempNamespace)

src/backend/catalog/sql_features.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ F831 Full cursor update NO
316316
F831 Full cursor update 01 Updatable scrollable cursors NO
317317
F831 Full cursor update 02 Updatable ordered cursors NO
318318
F841 LIKE_REGEX predicate NO
319-
F842 OCCURENCES_REGEX function NO
319+
F842 OCCURRENCES_REGEX function NO
320320
F843 POSITION_REGEX function NO
321321
F844 SUBSTRING_REGEX function NO
322322
F845 TRANSLATE_REGEX function NO

src/backend/commands/cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ cluster(ClusterStmt *stmt, bool isTopLevel)
248248
* swapping the relfilenodes of the new table and the old table, so
249249
* the OID of the original table is preserved. Thus we do not lose
250250
* GRANT, inheritance nor references to this table (this was a bug
251-
* in releases thru 7.3).
251+
* in releases through 7.3).
252252
*
253253
* Indexes are rebuilt too, via REINDEX. Since we are effectively bulk-loading
254254
* the new table, it's better to create the indexes afterwards than to fill

src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ main(int argc, char *argv[])
179179
* read-only activities. The -C case is important because pg_ctl may
180180
* try to invoke it while still holding administrator privileges on
181181
* Windows. Note that while -C can normally be in any argv position,
182-
* if you wanna bypass the root check you gotta put it first. This
182+
* if you want to bypass the root check you must put it first. This
183183
* reduces the risk that we might misinterpret some other mode's -C
184184
* switch as being the postmaster/postgres one.
185185
*/

src/backend/nodes/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ FILES IN src/include/nodes/
4646
Steps to Add a Node
4747
-------------------
4848

49-
Suppose you wanna define a node Foo:
49+
Suppose you want to define a node Foo:
5050

5151
1. Add a tag (T_Foo) to the enum NodeTag in nodes.h. (If you insert the
5252
tag in a way that moves the numbers associated with existing tags,

src/backend/optimizer/util/tlist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ apply_pathtarget_labeling_to_tlist(List *tlist, PathTarget *target)
770770
* the aggtranstype or aggserialtype. This allows exprType() to return the
771771
* actual type that will be produced.
772772
*
773-
* Note: We expect 'target' to be a flat target list and not have Aggrefs burried
773+
* Note: We expect 'target' to be a flat target list and not have Aggrefs buried
774774
* within other expressions.
775775
*/
776776
void

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