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

Commit1fb6f62

Browse files
committed
Fix typos in various places
Author: Andrea GelminiReviewed-by: Michael Paquier, Justin PryzbyDiscussion:https://postgr.es/m/20190528181718.GA39034@glet
1 parent0240a00 commit1fb6f62

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 arediabled like the sanity tests above.
2612+
-- Multi-byte tests below aredisabled 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 arediabled like the sanity tests above.
2612+
-- Multi-byte tests below aredisabled 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 arediabled like the sanity tests above.
813+
-- Multi-byte tests below aredisabled 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 tupleadjustement and page split.
1536+
* It is used to form tuples during tupleadjustment 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 tobegining of rel, might not have started at 0 */
2365+
/* wrap tobeginning 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 orderdependant, I can't quite see a point
311+
* things somewhat orderdependent, 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-
/* INTERSECTwant's the original, but we need to copy - Jan */
1018+
/* INTERSECTwants 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 highlycontentended, we lay out the array with minimal
182+
* locks are not highlycontended, 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'tinterruptable on some platforms.
205+
* pg_usleep isn'tinterruptible 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
return0;
53175317

5318-
/* x and y crossaxises, see URL above point_inside() */
5318+
/* x and y crossaxes, 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))

‎src/backend/utils/adt/inet_net_pton.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ inet_cidr_pton_ipv4(const char *src, u_char *dst, size_t size)
189189
gotoemsgsize;
190190
}
191191

192-
/*Firey death and destruction unless we prefetched EOS. */
192+
/*Fiery death and destruction unless we prefetched EOS. */
193193
if (ch!='\0')
194194
gotoenoent;
195195

@@ -309,7 +309,7 @@ inet_net_pton_ipv4(const char *src, u_char *dst)
309309
gotoemsgsize;
310310
}
311311

312-
/*Firey death and destruction unless we prefetched EOS. */
312+
/*Fiery death and destruction unless we prefetched EOS. */
313313
if (ch!='\0')
314314
gotoenoent;
315315

‎src/backend/utils/adt/jsonpath.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ static int
229229
flattenJsonPathParseItem(StringInfobuf,JsonPathParseItem*item,
230230
intnestingLevel,boolinsideArraySubscript)
231231
{
232-
/* position frombegining of jsonpath data */
232+
/* position frombeginning of jsonpath data */
233233
int32pos=buf->len-JSONPATH_HDRSZ;
234234
int32chld;
235235
int32next;

‎src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
ok(!-d"$tempdir/backup",'backup directory was cleaned up');
4646

47-
# Create a backup directory that is not empty so the nextcommnd will fail
47+
# Create a backup directory that is not empty so the nextcommand will fail
4848
# but leave the data directory behind
4949
mkdir("$tempdir/backup")
5050
or BAIL_OUT("unable to create$tempdir/backup");

‎src/bin/psql/command.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2937,7 +2937,7 @@ do_connect(enum trivalue reuse_previous_specification,
29372937
if (host&&strcmp(host,PQhost(o_conn))==0)
29382938
{
29392939
/*
2940-
* if we aretargetting the same host, reuse its hostaddr for
2940+
* if we aretargeting the same host, reuse its hostaddr for
29412941
* consistency
29422942
*/
29432943
hostaddr=PQhostaddr(o_conn);

‎src/common/unicode/generate-norm_test_table.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
print$OUTPUT
5757
"static const pg_unicode_test UnicodeNormalizationTests[] =\n{\n";
5858

59-
# Helper routine toconver a space-separated list of Unicode characters to
59+
# Helper routine toconvert a space-separated list of Unicode characters to
6060
# hexadecimal list format, suitable for outputting in a C array.
6161
subcodepoint_string_to_hex
6262
{

‎src/include/executor/tuptable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ struct TupleTableSlotOps
200200
* copy needs to be palloc'd in the current memory context. The slot
201201
* itself is expected to remain unaffected. It is *not* expected to have
202202
* meaningful "system columns" in the copy. The copy is not be "owned" by
203-
* the slot i.e. the caller has to takeresponsibilty to free memory
203+
* the slot i.e. the caller has to takeresponsibility to free memory
204204
* consumed by the slot.
205205
*/
206206
HeapTuple(*copy_heap_tuple) (TupleTableSlot*slot);
@@ -210,7 +210,7 @@ struct TupleTableSlotOps
210210
* The copy needs to be palloc'd in the current memory context. The slot
211211
* itself is expected to remain unaffected. It is *not* expected to have
212212
* meaningful "system columns" in the copy. The copy is not be "owned" by
213-
* the slot i.e. the caller has to takeresponsibilty to free memory
213+
* the slot i.e. the caller has to takeresponsibility to free memory
214214
* consumed by the slot.
215215
*/
216216
MinimalTuple (*copy_minimal_tuple) (TupleTableSlot*slot);

‎src/include/fe_utils/conditional.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* allow a manage nested conditionals.
66
*
77
* It is used by:
8-
* - "psql"interpretor for handling \if ... \endif
9-
* - "pgbench"interpretor for handling \if ... \endif
8+
* - "psql"interpreter for handling \if ... \endif
9+
* - "pgbench"interpreter for handling \if ... \endif
1010
* - "pgbench" syntax checker to test for proper nesting
1111
*
1212
* The stack holds the state of enclosing conditionals (are we in

‎src/include/nodes/execnodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ typedef struct ExprState
134134
*ExclusionOpsPer-column exclusion operators, or NULL if none
135135
*ExclusionProcsUnderlying function OIDs for ExclusionOps
136136
*ExclusionStratsOpclass strategy numbers for ExclusionOps
137-
*UniqueOpsTheses are like Exclusion*, but for unique indexes
137+
*UniqueOpsThese are like Exclusion*, but for unique indexes
138138
*UniqueProcs
139139
*UniqueStrats
140140
*Uniqueis it a unique index?

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp