Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Additional spelling corrections
authorStephen Frost <sfrost@snowman.net>
Mon, 3 Jun 2013 12:40:27 +0000 (08:40 -0400)
committerStephen Frost <sfrost@snowman.net>
Mon, 3 Jun 2013 12:40:27 +0000 (08:40 -0400)
A few more minor spelling corrections, no functional changes.

Thom Brown

src/backend/access/hash/README
src/backend/access/nbtree/README
src/backend/utils/adt/windowfuncs.c
src/interfaces/libpq/fe-exec.c

index 2652cae729c2b52e13715e2d5ebefc37f9cc0f3c..0a7da8928527e912973969537254a64854d7b3b2 100644 (file)
@@ -429,8 +429,8 @@ algorithm is:
    (this requires read/update/write/release of fore and aft siblings)
    pin meta page and take buffer content lock in shared mode
    determine which bitmap page contains the free space bit for page
-   relase meta page buffer content lock
-   pin bitmap page and take buffer content lock in exclusie mode
+   release meta page buffer content lock
+   pin bitmap page and take buffer content lock in exclusive mode
    update bitmap bit
    mark bitmap page dirty and release buffer content lock and pin
    if page number is less than what we saw as first-free-bit in meta:
index 6d438a7662e1b46a4ff25e3008ab71058bf79872..fcf1a951409eaa69859c523706d8ac007cad32a4 100644 (file)
@@ -46,7 +46,7 @@ Lehman and Yao don't require read locks, but assume that in-memory
 copies of tree pages are unshared.  Postgres shares in-memory buffers
 among backends.  As a result, we do page-level read locking on btree
 pages in order to guarantee that no record is modified while we are
-examining it.  This reduces concurrency but guaranteees correct
+examining it.  This reduces concurrency but guarantees correct
 behavior.  An advantage is that when trading in a read lock for a
 write lock, we need not re-read the page after getting the write lock.
 Since we're also holding a pin on the shared buffer containing the
index 2f171acd2be3d499951b91dd0647b67310ef7498..b7c42d3b9e595002c94bb605e2347c9b76750a42 100644 (file)
@@ -161,7 +161,7 @@ window_percent_rank(PG_FUNCTION_ARGS)
 
 /*
  * cume_dist
- * return fraction betweeen 0 and 1 inclusive,
+ * return fraction between 0 and 1 inclusive,
  * which is described as NP / NR, where NP is the number of rows preceding or
  * peers to the current row, and NR is the total number of rows, per spec.
  */
index 5abccf443ed94980c847d590491334b593f3da3d..eaa540702555bdd940dd3e3c0ab1c39eb792a325 100644 (file)
@@ -279,7 +279,7 @@ PQsetResultAttrs(PGresult *res, int numAttributes, PGresAttDesc *attDescs)
  *  PG_COPYRES_ATTRS - Copy the source result's attributes
  *
  *  PG_COPYRES_TUPLES - Copy the source result's tuples.  This implies
- *  copying the attrs, seeeing how the attrs are needed by the tuples.
+ *  copying the attrs, seeing how the attrs are needed by the tuples.
  *
  *  PG_COPYRES_EVENTS - Copy the source result's events.
  *