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

Commit3aff33a

Browse files
committed
Fix typos.
Oskari Saarenmaa
1 parentfd658db commit3aff33a

File tree

26 files changed

+30
-30
lines changed

26 files changed

+30
-30
lines changed

‎contrib/pgcrypto/sha1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extern void sha1_pad(struct sha1_ctxt *);
6363
externvoidsha1_loop(structsha1_ctxt*,constuint8*,size_t);
6464
externvoidsha1_result(structsha1_ctxt*,uint8*);
6565

66-
/*compatibilty with other SHA1 source codes */
66+
/*compatibility with other SHA1 source codes */
6767
typedefstructsha1_ctxtSHA1_CTX;
6868

6969
#defineSHA1Init(x)sha1_init((x))

‎contrib/sepgsql/label.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ sepgsql_set_client_label(const char *new_label)
161161
/*
162162
* sepgsql_xact_callback
163163
*
164-
* A callback routine of transaction commit/abort/prepare.Commmit or abort
164+
* A callback routine of transaction commit/abort/prepare.Commit or abort
165165
* changes in the client_label_pending list.
166166
*/
167167
staticvoid

‎doc/src/sgml/sources.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ BETTER: unrecognized node type: 42
860860
Code in <productname>PostgreSQL</> should only rely on language
861861
features available in the C89 standard. That means a conforming
862862
C89 compiler has to be able to compile postgres, at least aside
863-
from a few platformdependant pieces. Features from later
863+
from a few platformdependent pieces. Features from later
864864
revision of the C standard or compiler specific features can be
865865
used, if a fallback is provided.
866866
</para>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1613,7 +1613,7 @@ CheckPointTwoPhase(XLogRecPtr redo_horizon)
16131613
* transaction manager isn't active.
16141614
*
16151615
* It's also possible to move I/O out of the lock, but on
1616-
* every error we should check whether somebodycommited our
1616+
* every error we should check whether somebodycommitted our
16171617
* transaction in different backend. Let's leave this optimisation
16181618
* for future, if somebody will spot that this place cause
16191619
* bottleneck.

‎src/backend/libpq/auth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ pg_GSS_recvauth(Port *port)
838838

839839
/*
840840
* Loop through GSSAPI message exchange. This exchange can consist of
841-
* multiplemessags sent in both directions. First message is always from
841+
* multiplemessages sent in both directions. First message is always from
842842
* the client. All messages from client to server are password packets
843843
* (type 'p').
844844
*/
@@ -1078,7 +1078,7 @@ pg_SSPI_recvauth(Port *port)
10781078

10791079
/*
10801080
* Loop through SSPI message exchange. This exchange can consist of
1081-
* multiplemessags sent in both directions. First message is always from
1081+
* multiplemessages sent in both directions. First message is always from
10821082
* the client. All messages from client to server are password packets
10831083
* (type 'p').
10841084
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ build_join_rel(PlannerInfo *root,
501501
* level.
502502
*
503503
* Note that if there are more than two rels in this relation, they could
504-
* be divided between inner_rel and outer_rel in anyarbitary way. We
504+
* be divided between inner_rel and outer_rel in anyarbitrary way. We
505505
* assume this doesn't matter, because we should hit all the same baserels
506506
* and joinclauses while building up to this joinrel no matter which we
507507
* take; therefore, we should make the same decision here however we get

‎src/backend/parser/parse_target.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ transformTargetEntry(ParseState *pstate,
115115
*
116116
* This code acts mostly the same for SELECT, UPDATE, or RETURNING lists;
117117
* the main thing is to transform the given expressions (the "val" fields).
118-
* The exprKind parameter distinguishes these cases whennecesssary.
118+
* The exprKind parameter distinguishes these cases whennecessary.
119119
*/
120120
List*
121121
transformTargetList(ParseState*pstate,List*targetlist,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ inteffective_io_concurrency = 0;
113113

114114
/*
115115
* GUC variables about triggering kernel writeback for buffers written; OS
116-
*dependant defaults are set via the GUC mechanism.
116+
*dependent defaults are set via the GUC mechanism.
117117
*/
118118
intcheckpoint_flush_after=0;
119119
intbgwriter_flush_after=0;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* substantially, but there should be few systems where we must make do
3535
* with such poor tools.
3636
*
37-
* As ever, Windows requires its ownimplemetation.
37+
* As ever, Windows requires its ownimplementation.
3838
*
3939
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
4040
* Portions Copyright (c) 1994, Regents of the University of California

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef struct ProcArrayStruct
7171
* Known assigned XIDs handling
7272
*/
7373
intmaxKnownAssignedXids;/* allocated size of array */
74-
intnumKnownAssignedXids;/*currrent # of valid entries */
74+
intnumKnownAssignedXids;/*current # of valid entries */
7575
inttailKnownAssignedXids;/* index of oldest valid element */
7676
intheadKnownAssignedXids;/* index of newest element, + 1 */
7777
slock_tknown_assigned_xids_lck;/* protects head/tail pointers */

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ shm_mq_inc_bytes_read(volatile shm_mq *mq, Size n)
11041104
sender=mq->mq_sender;
11051105
SpinLockRelease(&mq->mq_mutex);
11061106

1107-
/* Weshoudn't have any bytes to read without a sender. */
1107+
/* Weshouldn't have any bytes to read without a sender. */
11081108
Assert(sender!=NULL);
11091109
SetLatch(&sender->procLatch);
11101110
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ parse_object(JsonLexContext *lex, JsonSemAction *sem)
508508
*/
509509
lex->lex_level++;
510510

511-
/* we know this willsucceeed, just clearing the token */
511+
/* we know this willsucceed, just clearing the token */
512512
lex_expect(JSON_PARSE_OBJECT_START,lex,JSON_TOKEN_OBJECT_START);
513513

514514
tok=lex_peek(lex);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ rank_up(WindowObject winobj)
6767
up= true;
6868
}
6969

70-
/* We can advance the mark, but only *after*acccess to prior row */
70+
/* We can advance the mark, but only *after*access to prior row */
7171
WinSetMarkPosition(winobj,curpos);
7272

7373
returnup;

‎src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ static struct config_int ConfigureNamesInt[] =
23912391
GUC_UNIT_BLOCKS
23922392
},
23932393
&checkpoint_flush_after,
2394-
/* see bufmgr.h: OSdependant default */
2394+
/* see bufmgr.h: OSdependent default */
23952395
DEFAULT_CHECKPOINT_FLUSH_AFTER,0,WRITEBACK_MAX_PENDING_FLUSHES,
23962396
NULL,NULL,NULL
23972397
},
@@ -2403,7 +2403,7 @@ static struct config_int ConfigureNamesInt[] =
24032403
GUC_UNIT_BLOCKS
24042404
},
24052405
&backend_flush_after,
2406-
/* see bufmgr.h: OSdependant default */
2406+
/* see bufmgr.h: OSdependent default */
24072407
DEFAULT_BACKEND_FLUSH_AFTER,0,WRITEBACK_MAX_PENDING_FLUSHES,
24082408
NULL,NULL,NULL
24092409
},

‎src/bin/pg_dump/compress_io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ DeflateCompressorZlib(ArchiveHandle *AH, CompressorState *cs, bool flush)
296296
if (zp->avail_out<cs->zlibOutSize)
297297
{
298298
/*
299-
* Any write functionshoud do its own error checking but to
299+
* Any write functionshould do its own error checking but to
300300
* make sure we do a check here as well...
301301
*/
302302
size_tlen=cs->zlibOutSize-zp->avail_out;

‎src/bin/pg_dump/parallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ readMessageFromPipe(int fd)
12621262
intret;
12631263

12641264
/*
1265-
* The problem here is that we need to deal with severalpossibilites: we
1265+
* The problem here is that we need to deal with severalpossibilities: we
12661266
* could receive only a partial message or several messages at once. The
12671267
* caller expects us to return exactly one message however.
12681268
*

‎src/bin/pg_upgrade/option.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ check_required_directory(char **dirpath, char **configpath,
381381
* adjust_data_dir
382382
*
383383
* If a configuration-only directory was specified, find the real data dir
384-
* byquering the running server. This has limited checking because we
384+
* byquerying the running server. This has limited checking because we
385385
* can't check for a running server because we can't find postmaster.pid.
386386
*/
387387
void

‎src/bin/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ getExponentialRand(TState *thread, int64 min, int64 max, double parameter)
535535
uniform=1.0-pg_erand48(thread->random_state);
536536

537537
/*
538-
* innerexpresion in (cut, 1] (if parameter > 0), rand in [0, 1)
538+
* innerexpression in (cut, 1] (if parameter > 0), rand in [0, 1)
539539
*/
540540
Assert((1.0-cut)!=0.0);
541541
rand=-log(cut+ (1.0-cut)*uniform) /parameter;

‎src/include/storage/shm_toc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* This is intended to provide a simple way to divide a chunk of shared
77
* memory (probably dynamic shared memory allocated via dsm_create) into
8-
* a number of regions and keep track of theaddreses of those regions or
8+
* a number of regions and keep track of theaddresses of those regions or
99
* key data structures within those regions. This is not intended to
1010
* scale to a large number of keys and will perform poorly if used that
1111
* way; if you need a large number of pointers, store them within some

‎src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* src/interfaces/ecpg/ecpglib/execute.c */
22

33
/*
4-
* The aim is to get a simplerinteface to the database routines.
4+
* The aim is to get a simplerinterface to the database routines.
55
* All the tidieous messing around with tuples is supposed to be hidden
66
* by this function.
77
*/

‎src/interfaces/ecpg/preproc/parse.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ sub preload_addons
632632
my$filename =$path ."/ecpg.addons";
633633
open(my$fh,'<',$filename)ordie;
634634

635-
# there may bemultple lines starting ECPG: and then multiple lines of code.
635+
# there may bemultiple lines starting ECPG: and then multiple lines of code.
636636
# the code need to be add to all prior ECPG records.
637637
my (@needsRules,@code,$record);
638638

‎src/interfaces/ecpg/preproc/type.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ ECPGdump_a_simple(FILE *o, const char *name, enum ECPGttype type,
446446
sprintf(variable,"&(%s%s)",prefix ?prefix :"",name);
447447

448448
/*
449-
* If we created a varchar structureatomatically, counter is
449+
* If we created a varchar structureautomatically, counter is
450450
* greater than 0.
451451
*/
452452
if (counter)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ DETAIL: drop cascades to table inht2
983983
drop cascades to table inhts
984984
drop cascades to table inht3
985985
drop cascades to table inht4
986-
-- Test non-inheritable indices [UNIQUE, EXCLUDE]contraints
986+
-- Test non-inheritable indices [UNIQUE, EXCLUDE]constraints
987987
CREATE TABLE test_constraints (id int, val1 varchar, val2 int, UNIQUE(val1, val2));
988988
CREATE TABLE test_constraints_inh () INHERITS (test_constraints);
989989
\d+ test_constraints
@@ -1049,7 +1049,7 @@ Inherits: test_ex_constraints
10491049

10501050
DROP TABLE test_ex_constraints_inh;
10511051
DROP TABLE test_ex_constraints;
1052-
-- Test non-inheritable foreign keycontraints
1052+
-- Test non-inheritable foreign keyconstraints
10531053
CREATE TABLE test_primary_constraints(id int PRIMARY KEY);
10541054
CREATE TABLE test_foreign_constraints(id1 int REFERENCES test_primary_constraints(id));
10551055
CREATE TABLE test_foreign_constraints_inh () INHERITS (test_foreign_constraints);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ SELECT relreplident FROM pg_class WHERE oid = 'test_replica_identity'::regclass;
6565
(1 row)
6666

6767
----
68-
-- Make sure index casessucceeed
68+
-- Make sure index casessucceed
6969
----
7070
-- succeed, primary key
7171
ALTER TABLE test_replica_identity REPLICA IDENTITY USING INDEX test_replica_identity_pkey;

‎src/test/regress/sql/inherit.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ SELECT a.attrelid::regclass, a.attname, a.attinhcount, e.expected
299299
DROPTABLE inht1, inhs1 CASCADE;
300300

301301

302-
-- Test non-inheritable indices [UNIQUE, EXCLUDE]contraints
302+
-- Test non-inheritable indices [UNIQUE, EXCLUDE]constraints
303303
CREATETABLEtest_constraints (idint, val1varchar, val2int, UNIQUE(val1, val2));
304304
CREATETABLEtest_constraints_inh () INHERITS (test_constraints);
305305
\d+ test_constraints
@@ -321,7 +321,7 @@ ALTER TABLE test_ex_constraints DROP CONSTRAINT test_ex_constraints_c_excl;
321321
DROPTABLE test_ex_constraints_inh;
322322
DROPTABLE test_ex_constraints;
323323

324-
-- Test non-inheritable foreign keycontraints
324+
-- Test non-inheritable foreign keyconstraints
325325
CREATETABLEtest_primary_constraints(idintPRIMARY KEY);
326326
CREATETABLEtest_foreign_constraints(id1intREFERENCES test_primary_constraints(id));
327327
CREATETABLEtest_foreign_constraints_inh () INHERITS (test_foreign_constraints);

‎src/test/regress/sql/replica_identity.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ALTER TABLE test_replica_identity REPLICA IDENTITY USING INDEX test_replica_iden
4444
SELECT relreplidentFROM pg_classWHEREoid='test_replica_identity'::regclass;
4545

4646
----
47-
-- Make sure index casessucceeed
47+
-- Make sure index casessucceed
4848
----
4949

5050
-- succeed, primary key

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp