Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f6b6b4

Browse files
robertmhaaspull[bot]
authored andcommitted
Fix typos in comments and in one isolation test.
Dagfinn Ilmari Mannsåker, reviewed by Shubham Khanna. Some subtractions by me. Discussion: http://postgr.es/m/[email protected]
1 parent 9f2eedb commit 7f6b6b4

File tree

29 files changed

+45
-45
lines changed

29 files changed

+45
-45
lines changed

contrib/bloom/bloom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ typedef struct BloomMetaPageData
127127
FreeBlockNumberArray notFullPage;
128128
} BloomMetaPageData;
129129

130-
/* Magic number to distinguish bloom pages among anothers */
130+
/* Magic number to distinguish bloom pages from others */
131131
#define BLOOM_MAGICK_NUMBER (0xDBAC0DED)
132132

133133
/* Number of blocks numbers fit in BloomMetaPageData */

contrib/pgcrypto/expected/pgp-compression.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ WITH random_string AS
6060
-- This generates a random string of 16366 bytes. This is chosen
6161
-- as random so that it does not get compressed, and the decompression
6262
-- would work on a string with the same length as the origin, making the
63-
-- test behavior more predictible. lpad() ensures that the generated
63+
-- test behavior more predictable. lpad() ensures that the generated
6464
-- hexadecimal value is completed by extra zero characters if random()
6565
-- has generated a value strictly lower than 16.
6666
SELECT string_agg(decode(lpad(to_hex((random()*256)::int), 2, '0'), 'hex'), '') as bytes

contrib/pgcrypto/openssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ bf_init(PX_Cipher *c, const uint8 *key, unsigned klen, const uint8 *iv)
460460

461461
/*
462462
* Test if key len is supported. BF_set_key silently cut large keys and it
463-
* could be a problem when user transfer crypted data from one server to
463+
* could be a problem when user transfer encrypted data from one server to
464464
* another.
465465
*/
466466

contrib/pgcrypto/sql/pgp-compression.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ WITH random_string AS
3636
-- This generates a random string of 16366 bytes. This is chosen
3737
-- as random so that it does not get compressed, and the decompression
3838
-- would work on a string with the same length as the origin, making the
39-
-- test behavior more predictible. lpad() ensures that the generated
39+
-- test behavior more predictable. lpad() ensures that the generated
4040
-- hexadecimal value is completed by extra zero characters if random()
4141
-- has generated a value strictly lower than 16.
4242
SELECT string_agg(decode(lpad(to_hex((random()*256)::int), 2, '0'), 'hex'), '') as bytes

contrib/postgres_fdw/expected/postgres_fdw.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4819,7 +4819,7 @@ SELECT * FROM ft2 ftupper WHERE
48194819
925 | 5 | 00925 | Mon Jan 26 00:00:00 1970 PST | Mon Jan 26 00:00:00 1970 | 5 | 5 | foo
48204820
(10 rows)
48214821

4822-
-- EXISTS should be propogated to the highest upper inner join
4822+
-- EXISTS should be propagated to the highest upper inner join
48234823
EXPLAIN (verbose, costs off)
48244824
SELECT ft2.*, ft4.* FROM ft2 INNER JOIN
48254825
(SELECT * FROM ft4 WHERE EXISTS (

contrib/postgres_fdw/sql/postgres_fdw.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ SELECT * FROM ft2 ftupper WHERE
13991399
AND ftupper.c1 > 900
14001400
ORDER BY ftupper.c1 LIMIT 10;
14011401

1402-
-- EXISTS should be propogated to the highest upper inner join
1402+
-- EXISTS should be propagated to the highest upper inner join
14031403
EXPLAIN (verbose, costs off)
14041404
SELECT ft2.*, ft4.* FROM ft2 INNER JOIN
14051405
(SELECT * FROM ft4 WHERE EXISTS (

src/backend/access/brin/brin.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ brininsert(Relation idxRel, Datum *values, bool *nulls,
348348
bool autosummarize = BrinGetAutoSummarize(idxRel);
349349

350350
/*
351-
* If firt time through in this statement, initialize the insert state
351+
* If first time through in this statement, initialize the insert state
352352
* that we keep for all the inserts in the command.
353353
*/
354354
if (!bistate)
@@ -1042,7 +1042,7 @@ brinbuildCallbackParallel(Relation index,
10421042
/*
10431043
* If we're in a block that belongs to a different range, summarize what
10441044
* we've got and start afresh. Note the scan might have skipped many
1045-
* pages, if they were devoid of live tuples; we do not create emptry BRIN
1045+
* pages, if they were devoid of live tuples; we do not create empty BRIN
10461046
* ranges here - the leader is responsible for filling them in.
10471047
*
10481048
* Unlike serial builds, parallel index builds allow synchronized seqscans
@@ -2149,7 +2149,7 @@ union_tuples(BrinDesc *bdesc, BrinMemTuple *a, BrinTuple *b)
21492149
* brin_vacuum_scan
21502150
* Do a complete scan of the index during VACUUM.
21512151
*
2152-
* This routine scans the complete index looking for uncatalogued index pages,
2152+
* This routine scans the complete index looking for uncataloged index pages,
21532153
* i.e. those that might have been lost due to a crash after index extension
21542154
* and such.
21552155
*/

src/backend/access/common/heaptuple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
((att)->attstorage != TYPSTORAGE_PLAIN)
8686

8787
/*
88-
* Setup for cacheing pass-by-ref missing attributes in a way that survives
88+
* Setup for caching pass-by-ref missing attributes in a way that survives
8989
* tupleDesc destruction.
9090
*/
9191

src/backend/access/nbtree/nbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ btbuildempty(Relation index)
158158
Page metapage;
159159

160160
/*
161-
* Initalize the metapage.
161+
* Initialize the metapage.
162162
*
163163
* Regular index build bypasses the buffer manager and uses smgr functions
164164
* directly, with an smgrimmedsync() call at the end. That makes sense

src/backend/catalog/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4218,7 +4218,7 @@ cachedNamespacePath(const char *searchPath, Oid roleid)
42184218
entry = spcache_insert(searchPath, roleid);
42194219

42204220
/*
4221-
* An OOM may have resulted in a cache entry with mising 'oidlist' or
4221+
* An OOM may have resulted in a cache entry with missing 'oidlist' or
42224222
* 'finalPath', so just compute whatever is missing.
42234223
*/
42244224

0 commit comments

Comments
 (0)