Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
1b4998fd
Commit
1b4998fd
authored
May 02, 2012
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further corrections from the department of redundancy department.
Thom Brown
parent
e01e66f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/backend/storage/freespace/README
src/backend/storage/freespace/README
+1
-1
src/backend/storage/ipc/standby.c
src/backend/storage/ipc/standby.c
+1
-1
src/backend/storage/lmgr/README.barrier
src/backend/storage/lmgr/README.barrier
+1
-1
No files found.
src/backend/storage/freespace/README
View file @
1b4998fd
...
...
@@ -125,7 +125,7 @@ we get a disk layout like this:
where the numbers are page numbers *at that level*, starting from 0.
To find the physical block # corresponding to leaf page n, we need to
count the number
number
of leaf and upper-level pages preceding page n.
count the number of leaf and upper-level pages preceding page n.
This turns out to be
y = n + (n / F + 1) + (n / F^2 + 1) + ... + 1
...
...
src/backend/storage/ipc/standby.c
View file @
1b4998fd
...
...
@@ -1009,7 +1009,7 @@ LogAccessExclusiveLockPrepare(void)
* RecordTransactionAbort() do not optimise away the transaction
* completion record which recovery relies upon to release locks. It's a
* hack, but for a corner case not worth adding code for into the main
* commit path. Second,
must
must assign an xid before the lock is
* commit path. Second,
we
must assign an xid before the lock is
* recorded in shared memory, otherwise a concurrently executing
* GetRunningTransactionLocks() might see a lock associated with an
* InvalidTransactionId which we later assert cannot happen.
...
...
src/backend/storage/lmgr/README.barrier
View file @
1b4998fd
...
...
@@ -128,7 +128,7 @@ And the reader can do this:
On machines with strong memory ordering, these weaker barriers will simply
prevent compiler rearrangement, without emitting any actual machine code.
On machines with weak memory ordering, they will
will
prevent compiler
On machines with weak memory ordering, they will prevent compiler
reordering and also emit whatever hardware barrier may be required. Even
on machines with weak memory ordering, a read or write barrier may be able
to use a less expensive instruction than a full barrier.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment