Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f129615

Browse files
committed
Additional spelling corrections
A few more minor spelling corrections, no functional changes. Thom Brown
1 parent e1e2bb3 commit f129615

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/backend/access/hash/README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,8 @@ algorithm is:
429429
(this requires read/update/write/release of fore and aft siblings)
430430
pin meta page and take buffer content lock in shared mode
431431
determine which bitmap page contains the free space bit for page
432-
relase meta page buffer content lock
433-
pin bitmap page and take buffer content lock in exclusie mode
432+
release meta page buffer content lock
433+
pin bitmap page and take buffer content lock in exclusive mode
434434
update bitmap bit
435435
mark bitmap page dirty and release buffer content lock and pin
436436
if page number is less than what we saw as first-free-bit in meta:

src/backend/access/nbtree/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Lehman and Yao don't require read locks, but assume that in-memory
4646
copies of tree pages are unshared. Postgres shares in-memory buffers
4747
among backends. As a result, we do page-level read locking on btree
4848
pages in order to guarantee that no record is modified while we are
49-
examining it. This reduces concurrency but guaranteees correct
49+
examining it. This reduces concurrency but guarantees correct
5050
behavior. An advantage is that when trading in a read lock for a
5151
write lock, we need not re-read the page after getting the write lock.
5252
Since we're also holding a pin on the shared buffer containing the

src/backend/utils/adt/windowfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ window_percent_rank(PG_FUNCTION_ARGS)
161161

162162
/*
163163
* cume_dist
164-
* return fraction betweeen 0 and 1 inclusive,
164+
* return fraction between 0 and 1 inclusive,
165165
* which is described as NP / NR, where NP is the number of rows preceding or
166166
* peers to the current row, and NR is the total number of rows, per spec.
167167
*/

src/interfaces/libpq/fe-exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs)
279279
* PG_COPYRES_ATTRS - Copy the source result's attributes
280280
*
281281
* PG_COPYRES_TUPLES - Copy the source result's tuples. This implies
282-
* copying the attrs, seeeing how the attrs are needed by the tuples.
282+
* copying the attrs, seeing how the attrs are needed by the tuples.
283283
*
284284
* PG_COPYRES_EVENTS - Copy the source result's events.
285285
*

0 commit comments

Comments
 (0)