Skip to content

Commit 3aff33a

Browse files
committed
Fix typos.
Oskari Saarenmaa
1 parent fd658db commit 3aff33a

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
extern void sha1_loop(struct sha1_ctxt *, const uint8 *, size_t);
6464
extern void sha1_result(struct sha1_ctxt *, uint8 *);
6565

66-
/* compatibilty with other SHA1 source codes */
66+
/* compatibility with other SHA1 source codes */
6767
typedef struct sha1_ctxt SHA1_CTX;
6868

6969
#define SHA1Init(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
static void

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 platform dependant pieces. Features from later
863+
from a few platform dependent 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 somebody commited our
1616+
* every error we should check whether somebody committed 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-
* multiple messags sent in both directions. First message is always from
841+
* multiple messages 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-
* multiple messags sent in both directions. First message is always from
1081+
* multiple messages 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 any arbitary way. We
504+
* be divided between inner_rel and outer_rel in any arbitrary 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 when necesssary.
118+
* The exprKind parameter distinguishes these cases when necessary.
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 @@ int effective_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
int checkpoint_flush_after = 0;
119119
int bgwriter_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 own implemetation.
37+
* As ever, Windows requires its own implementation.
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
int maxKnownAssignedXids; /* allocated size of array */
74-
int numKnownAssignedXids; /* currrent # of valid entries */
74+
int numKnownAssignedXids; /* current # of valid entries */
7575
int tailKnownAssignedXids; /* index of oldest valid element */
7676
int headKnownAssignedXids; /* index of newest element, + 1 */
7777
slock_t known_assigned_xids_lck; /* protects head/tail pointers */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy