Skip to content

Commit 5d4b60f

Browse files
committed
Lots of doc corrections.
Josh Kupershmidt
1 parent 7ab9b2f commit 5d4b60f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+81
-81
lines changed

contrib/dblink/dblink.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ dblink_current_query(PG_FUNCTION_ARGS)
17951795
/*
17961796
* Retrieve async notifications for a connection.
17971797
*
1798-
* Returns an setof record of notifications, or an empty set if none recieved.
1798+
* Returns an setof record of notifications, or an empty set if none received.
17991799
* Can optionally take a named connection as parameter, but uses the unnamed connection per default.
18001800
*
18011801
*/

contrib/fuzzystrmatch/fuzzystrmatch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ getcode(char c)
157157
/* These letters are passed through unchanged */
158158
#define NOCHANGE(c) (getcode(c) & 2) /* FJMNR */
159159

160-
/* These form dipthongs when preceding H */
160+
/* These form diphthongs when preceding H */
161161
#define AFFECTH(c) (getcode(c) & 4) /* CGPST */
162162

163163
/* These make C and G soft */

contrib/fuzzystrmatch/levenshtein.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ levenshtein_internal(text *s, text *t,
171171
* length. Each additional deletion forces another insertion, so
172172
* the best-case total cost increases by ins_c + del_c. If the
173173
* string is shrinking, the minimum theoretical cost assumes no
174-
* excess deletions; that is, we're starting no futher right than
174+
* excess deletions; that is, we're starting no further right than
175175
* column n - m. If we do start further right, the best-case
176176
* total cost increases by ins_c + del_c for each move right.
177177
*/

contrib/hstore/hstore_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ get_val(HSParser *state, bool ignoreeq, bool *escaped)
7474
}
7575
else if (*(state->ptr) == '=' && !ignoreeq)
7676
{
77-
elog(ERROR, "Syntax error near '%c' at postion %d", *(state->ptr), (int4) (state->ptr - state->begin));
77+
elog(ERROR, "Syntax error near '%c' at position %d", *(state->ptr), (int4) (state->ptr - state->begin));
7878
}
7979
else if (*(state->ptr) == '\\')
8080
{

contrib/pg_upgrade/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ get_db_infos(ClusterInfo *cluster)
234234
/*
235235
* get_rel_infos()
236236
*
237-
* gets the relinfos for all the user tables of the database refered
237+
* gets the relinfos for all the user tables of the database referred
238238
* by "db".
239239
*
240240
* NOTE: we assume that relations/entities with oids greater than

contrib/pg_upgrade/pg_upgrade.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* oids are the same between old and new clusters. This is important
1616
* because toast oids are stored as toast pointers in user tables.
1717
*
18-
* FYI, while pg_class.oid and pg_class.relfilenode are intially the same
18+
* FYI, while pg_class.oid and pg_class.relfilenode are initially the same
1919
* in a cluster, but they can diverge due to CLUSTER, REINDEX, or VACUUM
2020
* FULL. The new cluster will have matching pg_class.oid and
2121
* pg_class.relfilenode values and be based on the old oid value. This can

contrib/pg_upgrade/version_old_8_3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ old_8_3_rebuild_tsvector_tables(ClusterInfo *cluster, bool check_mode)
396396

397397
PQclear(res);
398398

399-
/* XXX Mark tables as not accessable somehow */
399+
/* XXX Mark tables as not accessible somehow */
400400

401401
PQfinish(conn);
402402
}
@@ -666,7 +666,7 @@ old_8_3_invalidate_bpchar_pattern_ops_indexes(ClusterInfo *cluster,
666666
* we don't transfer sequence files but instead use the CREATE SEQUENCE
667667
* command from the schema dump, and use setval() to restore the sequence
668668
* value and 'is_called' from the old database. This is safe to run
669-
* by pg_upgrade because sequence files are not transfered from the old
669+
* by pg_upgrade because sequence files are not transferred from the old
670670
* server, even in link mode.
671671
*/
672672
char *

contrib/pgcrypto/crypt-des.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ px_crypt_des(const char *key, const char *setting)
711711

712712
/*
713713
* Double check that we weren't given a short setting. If we were, the
714-
* above code will probably have created wierd values for count and
714+
* above code will probably have created weird values for count and
715715
* salt, but we don't really care. Just make sure the output string
716716
* doesn't have an extra NUL in it.
717717
*/

contrib/pgcrypto/imath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ mp_int_add(mp_int a, mp_int b, mp_int c)
647647
/* Different signs -- subtract magnitudes, preserve sign of greater */
648648
mp_int x,
649649
y;
650-
int cmp = s_ucmp(a, b); /* magnitude comparision, sign ignored */
650+
int cmp = s_ucmp(a, b); /* magnitude comparison, sign ignored */
651651

652652
/* Set x to max(a, b), y to min(a, b) to simplify later code */
653653
if (cmp >= 0)

contrib/pgcrypto/pgp-pgsql.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ decrypt_internal(int is_pubenc, int need_text, text *data,
625625
px_set_debug_handler(NULL);
626626

627627
/*
628-
* add successfull decryptions also into RNG
628+
* add successful decryptions also into RNG
629629
*/
630630
add_entropy(res, key, keypsw);
631631

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