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

Commite1623c3

Browse files
committed
Fix various common mispellings.
Mostly these are just comments but there are a few in documentationand a handful in code and tests. Hopefully this doesn't cause too muchunnecessary pain for backpatching. I relented from some of the mostcommon like "thru" for that reason. The rest don't seem numerousenough to cause problems.Thanks to Kevin Lyda's toolhttps://pypi.python.org/pypi/misspellings
1 parentee4af34 commite1623c3

File tree

26 files changed

+35
-35
lines changed

26 files changed

+35
-35
lines changed

‎doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2518,7 +2518,7 @@ include_dir 'conf.d'
25182518
less than <varname>wal_writer_flush_after</> bytes of WAL have been
25192519
produced since, WAL is only written to the OS, not flushed to disk.
25202520
If <varname>wal_writer_flush_after</> is set to <literal>0</> WAL is
2521-
flushedeverytime the WAL writer has written WAL. The default is
2521+
flushedevery time the WAL writer has written WAL. The default is
25222522
<literal>1MB</literal>. This parameter can only be set in the
25232523
<filename>postgresql.conf</> file or on the server command line.
25242524
</para>

‎doc/src/sgml/pgcrypto.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ Applies to: pgp_sym_encrypt
866866
be a value between 1024 and 65011712, inclusive.
867867
</para>
868868
<literallayout>
869-
Default: A random valuebewteen 65536 and 253952
869+
Default: A random valuebetween 65536 and 253952
870870
Applies to: pgp_sym_encrypt, only with s2k-mode=3
871871
</literallayout>
872872
</sect4>

‎doc/src/sgml/ref/psql-ref.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4168,7 +4168,7 @@ testdb=&gt; <userinput>\crosstabview first second</userinput>
41684168
</programlisting>
41694169

41704170
This second example shows a multiplication table with rows sorted in reverse
4171-
numerical order and columns with anindependant, ascending numerical order.
4171+
numerical order and columns with anindependent, ascending numerical order.
41724172
<programlisting>
41734173
testdb=&gt; <userinput>SELECT t1.first as "A", t2.first+100 AS "B", t1.first*(t2.first+100) as "AxB",</userinput>
41744174
testdb(&gt; <userinput>row_number() over(order by t2.first) AS ord</userinput>

‎src/backend/access/transam/generic_xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ struct GenericXLogState
6464
/*
6565
* page's images. Should be first in this struct to have MAXALIGN'ed
6666
* images addresses, because some code working with pages directly aligns
67-
* addresses, notanoffsets frombegining of page
67+
* addresses, not offsets frombeginning of page
6868
*/
6969
charimages[MAX_GENERIC_XLOG_PAGES*BLCKSZ];
7070
PageDatapages[MAX_GENERIC_XLOG_PAGES];

‎src/backend/catalog/namespace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ RangeVarGetRelidExtended(const RangeVar *relation, LOCKMODE lockmode,
297297
namespaceId=LookupExplicitNamespace(relation->schemaname,missing_ok);
298298

299299
/*
300-
* For missing_ok, allow a non-existant schema name to
300+
* For missing_ok, allow a non-existent schema name to
301301
* return InvalidOid.
302302
*/
303303
if (namespaceId!=myTempNamespace)

‎src/backend/catalog/sql_features.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ F831Full cursor updateNO
316316
F831Full cursor update01Updatable scrollable cursorsNO
317317
F831Full cursor update02Updatable ordered cursorsNO
318318
F841LIKE_REGEX predicateNO
319-
F842OCCURENCES_REGEX functionNO
319+
F842OCCURRENCES_REGEX functionNO
320320
F843POSITION_REGEX functionNO
321321
F844SUBSTRING_REGEX functionNO
322322
F845TRANSLATE_REGEX functionNO

‎src/backend/commands/cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ cluster(ClusterStmt *stmt, bool isTopLevel)
248248
* swapping the relfilenodes of the new table and the old table, so
249249
* the OID of the original table is preserved. Thus we do not lose
250250
* GRANT, inheritance nor references to this table (this was a bug
251-
* in releasesthru 7.3).
251+
* in releasesthrough 7.3).
252252
*
253253
* Indexes are rebuilt too, via REINDEX. Since we are effectively bulk-loading
254254
* the new table, it's better to create the indexes afterwards than to fill

‎src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ main(int argc, char *argv[])
179179
* read-only activities. The -C case is important because pg_ctl may
180180
* try to invoke it while still holding administrator privileges on
181181
* Windows. Note that while -C can normally be in any argv position,
182-
* if youwannabypass the root check yougotta put it first. This
182+
* if youwant tobypass the root check youmust put it first. This
183183
* reduces the risk that we might misinterpret some other mode's -C
184184
* switch as being the postmaster/postgres one.
185185
*/

‎src/backend/nodes/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ FILES IN src/include/nodes/
4646
Steps to Add a Node
4747
-------------------
4848

49-
Suppose youwanna define a node Foo:
49+
Suppose youwant to define a node Foo:
5050

5151
1. Add a tag (T_Foo) to the enum NodeTag in nodes.h. (If you insert the
5252
tag in a way that moves the numbers associated with existing tags,

‎src/backend/optimizer/util/tlist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ apply_pathtarget_labeling_to_tlist(List *tlist, PathTarget *target)
770770
* the aggtranstype or aggserialtype. This allows exprType() to return the
771771
* actual type that will be produced.
772772
*
773-
* Note: We expect 'target' to be a flat target list and not have Aggrefsburried
773+
* Note: We expect 'target' to be a flat target list and not have Aggrefsburied
774774
* within other expressions.
775775
*/
776776
void

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ ReorderBufferTXNByXid(ReorderBuffer *rb, TransactionId xid, bool create,
563563
}
564564

565565
/*
566-
* cached as non-existant, and asked not to create? Then nothing else
566+
* cached as non-existent, and asked not to create? Then nothing else
567567
* to do.
568568
*/
569569
if (!create)

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ StartReplication(StartReplicationCmd *cmd)
747747
*
748748
* Inside the walsender we can do better than logical_read_local_xlog_page,
749749
* which has to do a plain sleep/busy loop, because the walsender's latch gets
750-
* seteverytime WAL is flushed.
750+
* setevery time WAL is flushed.
751751
*/
752752
staticint
753753
logical_read_xlog_page(XLogReaderState*state,XLogRecPtrtargetPagePtr,intreqLen,

‎src/backend/storage/buffer/bufmgr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ BufferSync(int flags)
19731973
}
19741974

19751975
/*
1976-
* Measure progress independent ofactualy having to flush the buffer
1976+
* Measure progress independent ofactually having to flush the buffer
19771977
* - otherwise writing become unbalanced.
19781978
*/
19791979
ts_stat->progress+=ts_stat->progress_slice;

‎src/backend/storage/ipc/procarray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ ProcArrayInitRecovery(TransactionId initializedUptoXID)
642642
Assert(TransactionIdIsNormal(initializedUptoXID));
643643

644644
/*
645-
* we set latestObservedXid to the xid SUBTRANS has been initializedupto,
645+
* we set latestObservedXid to the xid SUBTRANS has been initializedup to,
646646
* so we can extend it from that point onwards in
647647
* RecordKnownAssignedTransactionIds, and when we get consistent in
648648
* ProcArrayApplyRecoveryInfo().

‎src/backend/storage/smgr/md.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ _mdfd_getseg(SMgrRelation reln, ForkNumber forknum, BlockNumber blkno,
17881788
BlockNumbertargetseg;
17891789
BlockNumbernextsegno;
17901790

1791-
/* some way to handle non-existant segments needs to be specified */
1791+
/* some way to handle non-existent segments needs to be specified */
17921792
Assert(behavior&
17931793
(EXTENSION_FAIL |EXTENSION_CREATE |EXTENSION_RETURN_NULL));
17941794

‎src/backend/tsearch/spell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ getAffixFlagSet(IspellDict *Conf, char *s)
11621162

11631163
if (curaffix>0&&curaffix <=Conf->nAffixData)
11641164
/*
1165-
* Do notsubstract 1 from curaffix
1165+
* Do notsubtract 1 from curaffix
11661166
* because empty string was added in NIImportOOAffixes
11671167
*/
11681168
returnConf->AffixData[curaffix];

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3146,15 +3146,15 @@ DCH_from_char(FormatNode *node, char *in, TmFromChar *out)
31463146
{
31473147
intmatched,
31483148
years,
3149-
millenia,
3149+
millennia,
31503150
nch;
31513151

3152-
matched=sscanf(s,"%d,%03d%n",&millenia,&years,&nch);
3152+
matched=sscanf(s,"%d,%03d%n",&millennia,&years,&nch);
31533153
if (matched<2)
31543154
ereport(ERROR,
31553155
(errcode(ERRCODE_INVALID_DATETIME_FORMAT),
31563156
errmsg("invalid input string for \"Y,YYY\"")));
3157-
years+= (millenia*1000);
3157+
years+= (millennia*1000);
31583158
from_char_set_int(&out->year,years,n);
31593159
out->yysz=4;
31603160
s+=nch;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
*(3) the prefix of the current node
4646
*
4747
* If we visualize them on our simplified drawing (see the drawing above);
48-
*transfered boundaries of (1) would be the outer axis, relevant part
48+
*transferred boundaries of (1) would be the outer axis, relevant part
4949
* of (2) would be the up right part of the other axis, and (3) would be
5050
* the inner axis.
5151
*

‎src/backend/utils/resowner/resowner.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ ResourceArrayGetAny(ResourceArray *resarr, Datum *value)
373373
}
374374
else
375375
{
376-
/* Hash: search forward fromwhereever we were last. */
376+
/* Hash: search forward fromwherever we were last. */
377377
uint32mask=resarr->capacity-1;
378378

379379
for (;;)

‎src/bin/pg_dump/dumputils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ buildACLCommands(const char *name, const char *subname,
236236
* manner by first REVOKE'ing the rights and then GRANT'ing them
237237
* after. With 9.6 and above, what we need to REVOKE and what we
238238
* need to GRANT is figured out when we dump and stashed into
239-
* "racls" and "acls",respectivly. See above.
239+
* "racls" and "acls",respectively. See above.
240240
*/
241241
if (remoteVersion<90600&&owner
242242
&&strcmp(grantee->data,owner)==0

‎src/include/port/win32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Leave a higher value in place. When building with at least Visual
1010
* Studio 2015 the minimum requirement is Windows Vista (0x0600) to
1111
* get support for GetLocaleInfoEx() with locales. For everything else
12-
* theminumum version is Windows XP (0x0501).
12+
* theminimum version is Windows XP (0x0501).
1313
* Also for VS2015, add a define that stops compiler complaints about
1414
* using the old Winsock API.
1515
*/

‎src/include/storage/freespace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ extern void XLogRecordPageWithFreeSpace(RelFileNode rnode, BlockNumber heapBlk,
3333
externvoidFreeSpaceMapTruncateRel(Relationrel,BlockNumbernblocks);
3434
externvoidFreeSpaceMapVacuum(Relationrel);
3535
externvoidUpdateFreeSpaceMap(Relationrel,
36-
BlockNumberfirtsBlkNum,
37-
BlockNumberlastBlkNum,
36+
BlockNumberstartBlkNum,
37+
BlockNumberendBlkNum,
3838
Sizefreespace);
3939

4040
#endif/* FREESPACE_H_ */

‎src/test/modules/test_ddl_deparse/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ demonstration of how to use the datatype, and to provide some unit tests for
44
it.
55

66
The functions in this extension are intended to be able to process some
7-
part of the struct and produce some readable output,preferrably handling
7+
part of the struct and produce some readable output,preferably handling
88
all possible cases so that SQL test code can be written.

‎src/test/regress/expected/event_trigger.out

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ create event trigger regress_event_trigger_end on ddl_command_end
3030
execute procedure test_event_trigger();
3131
-- should fail, food is not a valid filter variable
3232
create event trigger regress_event_trigger2 on ddl_command_start
33-
when food in ('sandwhich')
33+
when food in ('sandwich')
3434
execute procedure test_event_trigger();
3535
ERROR: unrecognized filter variable "food"
36-
-- should fail,sandwhich is not a valid command tag
36+
-- should fail,sandwich is not a valid command tag
3737
create event trigger regress_event_trigger2 on ddl_command_start
38-
when tag in ('sandwhich')
38+
when tag in ('sandwich')
3939
execute procedure test_event_trigger();
40-
ERROR: filter value "sandwhich" not recognized for filter variable "tag"
40+
ERROR: filter value "sandwich" not recognized for filter variable "tag"
4141
-- should fail, create skunkcabbage is not a valid command tag
4242
create event trigger regress_event_trigger2 on ddl_command_start
4343
when tag in ('create table', 'create skunkcabbage')

‎src/test/regress/sql/event_trigger.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ create event trigger regress_event_trigger_end on ddl_command_end
3232

3333
-- should fail, food is not a valid filter variable
3434
create event trigger regress_event_trigger2on ddl_command_start
35-
when foodin ('sandwhich')
35+
when foodin ('sandwich')
3636
execute procedure test_event_trigger();
3737

38-
-- should fail,sandwhich is not a valid command tag
38+
-- should fail,sandwich is not a valid command tag
3939
create event trigger regress_event_trigger2on ddl_command_start
40-
when tagin ('sandwhich')
40+
when tagin ('sandwich')
4141
execute procedure test_event_trigger();
4242

4343
-- should fail, create skunkcabbage is not a valid command tag

‎src/tools/msvc/Project.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ sub Save
368368

369369
subGetAdditionalLinkerDependencies
370370
{
371-
my ($self,$cfgname,$seperator) =@_;
371+
my ($self,$cfgname,$separator) =@_;
372372
my$libcfg = (uc$cfgnameeq"RELEASE") ?"MD" :"MDd";
373373
my$libs ='';
374374
foreachmy$lib (@{$self->{libraries} })
@@ -382,7 +382,7 @@ sub GetAdditionalLinkerDependencies
382382
last;
383383
}
384384
}
385-
$libs .=$xlib .$seperator;
385+
$libs .=$xlib .$separator;
386386
}
387387
$libs =~s/.$//;
388388
$libs =~s/__CFGNAME__/$cfgname/g;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp