8000 Fix typos in various places · postgrespro/postgres@1fb6f62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1fb6f62

Browse files
committed
Fix typos in various places
Author: Andrea Gelmini Reviewed-by: Michael Paquier, Justin Pryzby Discussion: https://postgr.es/m/20190528181718.GA39034@glet
1 parent 0240a00 commit 1f
8000
b6f62

File tree

18 files changed

+21
-21
lines changed

18 files changed

+21
-21
lines changed

contrib/citext/expected/citext.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ SELECT citext_pattern_ge('b'::citext, 'A'::citext) AS true;
26092609
t
26102610
(1 row)
26112611

2612-
-- Multi-byte tests below are diabled like the sanity tests above.
2612+
-- Multi-byte tests below are disabled like the sanity tests above.
26132613
-- Uncomment to run them.
26142614
-- Test ~<~ and ~<=~
26152615
SELECT 'a'::citext ~<~ 'B'::citext AS t;

contrib/citext/expected/citext_1.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2609,7 +2609,7 @@ SELECT citext_pattern_ge('b'::citext, 'A'::citext) AS true;
26092609
t
26102610
(1 row)
26112611

2612-
-- Multi-byte tests below are diabled like the sanity tests above.
2612+
-- Multi-byte tests below are disabled like the sanity tests above.
26132613
-- Uncomment to run them.
26142614
-- Test ~<~ and ~<=~
26152615
SELECT 'a'::citext ~<~ 'B'::citext AS t;

contrib/citext/sql/citext.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ SELECT citext_pattern_ge('b'::citext, 'a'::citext) AS true;
810810
SELECT citext_pattern_ge('B'::citext, 'a'::citext) AS true;
811811
SELECT citext_pattern_ge('b'::citext, 'A'::citext) AS true;
812812

813-
-- Multi-byte tests below are diabled like the sanity tests above.
813+
-- Multi-byte tests below are disabled like the sanity tests above.
814814
-- Uncomment to run them.
815815

816816
-- Test ~<~ and ~<=~

src/backend/access/gist/gist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,7 @@ initGISTstate(Relation index)
15331533
* The truncated tupdesc for non-leaf index tuples, which doesn't contain
15341534
* the INCLUDE attributes.
15351535
*
1536-
* It is used to form tuples during tuple adjustement and page split.
1536+
* It is used to form tuples during tuple adjustment and page split.
15371537
* B-tree creates shortened tuple descriptor for every truncated tuple,
15381538
* because it is doing this less often: it does not have to form truncated
15391539
* tuples during page split. Also, B-tree is not adjusting tuples on

src/backend/access/heap/heapam_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ heapam_scan_sample_next_block(TableScanDesc scan, SampleScanState *scanstate)
23622362

23632363
if (blockno >= hscan->rs_nblocks)
23642364
{
2365-
/* wrap to begining of rel, might not have started at 0 */
2365+
/* wrap to beginning of rel, might not have started at 0 */
23662366
blockno = 0;
23672367
}
23682368

src/backend/jit/llvm/llvmjit_inline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ llvm_build_inline_plan(llvm::Module *mod)
308308
* Check whether function and all its dependencies are too
309309
* big. Dependencies already counted for other functions that
310310
* will get inlined are not counted again. While this make
311-
* things somewhat order dependant, I can't quite see a point
311+
* things somewhat order dependent, I can't quite see a point
312312
* in a different behaviour.
313313
*/
314314
if (running_instcount > inlineState.costLimit)

src/backend/rewrite/rewriteManip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ AddQual(Query *parsetree, Node *qual)
10151015
errmsg("conditional UNION/INTERSECT/EXCEPT statements are not implemented")));
10161016
}
10171017

1018-
/* INTERSECT want's the original, but we need to copy - Jan */
1018+
/* INTERSECT wants the original, but we need to copy - Jan */
10191019
copy = copyObject(qual);
10201020

10211021
parsetree->jointree->quals = make_and_qual(parsetree->jointree->quals,

src/backend/storage/buffer/buf_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ BufferShmemSize(void)
179179
* and benchmarking has shown that keeping every BufferDesc aligned on a
180180
* cache line boundary is important for performance. So, instead, the
181181
* array of I/O locks is allocated in a separate tranche. Because those
182-
* locks are not highly contentended, we lay out the array with minimal
182+
* locks are not highly contended, we lay out the array with minimal
183183
* padding.
184184
*/
185185
size = add_size(size, mul_size(NBuffers, sizeof(LWLockMinimallyPadded)));

src/backend/storage/ipc/standby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ WaitExceedsMaxStandbyDelay(void)
202202

203203
/*
204204
* Progressively increase the sleep times, but not to more than 1s, since
205-
* pg_usleep isn't interruptable on some platforms.
205+
* pg_usleep isn't interruptible on some platforms.
206206
*/
207207
standbyWait_us *= 2;
208208
if (standbyWait_us > 1000000)

src/backend/utils/adt/geo_ops.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5315,7 +5315,7 @@ lseg_crossing(float8 x, float8 y, float8 prev_x, float8 prev_y)
53155315
/* both non-positive so do not cross positive X-axis */
53165316
return 0;
53175317

5318-
/* x and y cross axises, see URL above point_inside() */
5318+
/* x and y cross axes, see URL above point_inside() */
53195319
z = float8_mi(float8_mul(float8_mi(x, prev_x), y),
53205320
float8_mul(float8_mi(y, prev_y), x));
53215321
if (FPzero(z))

0 commit comments

Comments
 (0)
0