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

Commit1b4998f

Browse files
committed
Further corrections from the department of redundancy department.
Thom Brown
1 parente01e66f commit1b4998f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/backend/storage/freespace/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ we get a disk layout like this:
125125
where the numbers are page numbers *at that level*, starting from 0.
126126

127127
To find the physical block # corresponding to leaf page n, we need to
128-
count the numbernumberof leaf and upper-level pages preceding page n.
128+
count the number of leaf and upper-level pages preceding page n.
129129
This turns out to be
130130

131131
y = n + (n / F + 1) + (n / F^2 + 1) + ... + 1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ LogAccessExclusiveLockPrepare(void)
10091009
* RecordTransactionAbort() do not optimise away the transaction
10101010
* completion record which recovery relies upon to release locks. It's a
10111011
* hack, but for a corner case not worth adding code for into the main
1012-
* commit path. Second,must must assign an xid before the lock is
1012+
* commit path. Second,we must assign an xid before the lock is
10131013
* recorded in shared memory, otherwise a concurrently executing
10141014
* GetRunningTransactionLocks() might see a lock associated with an
10151015
* InvalidTransactionId which we later assert cannot happen.

‎src/backend/storage/lmgr/README.barrier

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ And the reader can do this:
128128

129129
On machines with strong memory ordering, these weaker barriers will simply
130130
prevent compiler rearrangement, without emitting any actual machine code.
131-
On machines with weak memory ordering, they willwillprevent compiler
131+
On machines with weak memory ordering, they will prevent compiler
132132
reordering and also emit whatever hardware barrier may be required. Even
133133
on machines with weak memory ordering, a read or write barrier may be able
134134
to use a less expensive instruction than a full barrier.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp