Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d9937d

Browse files
committed
Fix typos in comments and in one isolation test.
Dagfinn Ilmari Mannsåker, reviewed by Shubham Khanna. Some subtractionsby me.Discussion:http://postgr.es/m/87le9fmi01.fsf@wibble.ilmari.org
1 parent5c430f9 commit0d9937d

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
FreeBlockNumberArraynotFullPage;
128128
}BloomMetaPageData;
129129

130-
/* Magic number to distinguish bloom pagesamong anothers */
130+
/* Magic number to distinguish bloom pagesfrom others */
131131
#defineBLOOM_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 morepredictible. lpad() ensures that the generated
63+
-- test behavior morepredictable. 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 transfercrypted data from one server to
463+
* could be a problem when user transferencrypted 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 morepredictible. lpad() ensures that the generated
39+
-- test behavior morepredictable. 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 bepropogated to the highest upper inner join
4822+
-- EXISTS should bepropagated 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
ANDftupper.c1>900
14001400
ORDER BYftupper.c1LIMIT10;
14011401

1402-
-- EXISTS should bepropogated to the highest upper inner join
1402+
-- EXISTS should bepropagated to the highest upper inner join
14031403
EXPLAIN (verbose, costs off)
14041404
SELECT ft2.*, ft4.*FROM ft2INNER JOIN
14051405
(SELECT*FROM ft4WHERE 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
boolautosummarize=BrinGetAutoSummarize(idxRel);
349349

350350
/*
351-
* Iffirt time through in this statement, initialize the insert state
351+
* Iffirst 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 createemptry BRIN
1045+
* pages, if they were devoid of live tuples; we do not createempty 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 foruncatalogued index pages,
2152+
* This routine scans the complete index looking foruncataloged 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 forcacheing pass-by-ref missing attributes in a way that survives
88+
* Setup forcaching 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
Pagemetapage;
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 withmising 'oidlist' or
4221+
* An OOM may have resulted in a cache entry withmissing 'oidlist' or
42224222
* 'finalPath', so just compute whatever is missing.
42234223
*/
42244224

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp