Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
1b4998fd
Commit
1b4998fd
authored
12 years ago
by
Robert Haas
Browse files
Options
Downloads
Patches
Plain Diff
Further corrections from the department of redundancy department.
Thom Brown
parent
e01e66f8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/storage/freespace/README
+1
-1
1 addition, 1 deletion
src/backend/storage/freespace/README
src/backend/storage/ipc/standby.c
+1
-1
1 addition, 1 deletion
src/backend/storage/ipc/standby.c
src/backend/storage/lmgr/README.barrier
+1
-1
1 addition, 1 deletion
src/backend/storage/lmgr/README.barrier
with
3 additions
and
3 deletions
src/backend/storage/freespace/README
+
1
−
1
View file @
1b4998fd
...
@@ -125,7 +125,7 @@ we get a disk layout like this:
...
@@ -125,7 +125,7 @@ we get a disk layout like this:
where the numbers are page numbers *at that level*, starting from 0.
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
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
This turns out to be
y = n + (n / F + 1) + (n / F^2 + 1) + ... + 1
y = n + (n / F + 1) + (n / F^2 + 1) + ... + 1
...
...
This diff is collapsed.
Click to expand it.
src/backend/storage/ipc/standby.c
+
1
−
1
View file @
1b4998fd
...
@@ -1009,7 +1009,7 @@ LogAccessExclusiveLockPrepare(void)
...
@@ -1009,7 +1009,7 @@ LogAccessExclusiveLockPrepare(void)
* RecordTransactionAbort() do not optimise away the transaction
* RecordTransactionAbort() do not optimise away the transaction
* completion record which recovery relies upon to release locks. It's a
* 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
* 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
* recorded in shared memory, otherwise a concurrently executing
* GetRunningTransactionLocks() might see a lock associated with an
* GetRunningTransactionLocks() might see a lock associated with an
* InvalidTransactionId which we later assert cannot happen.
* InvalidTransactionId which we later assert cannot happen.
...
...
This diff is collapsed.
Click to expand it.
src/backend/storage/lmgr/README.barrier
+
1
−
1
View file @
1b4998fd
...
@@ -128,7 +128,7 @@ And the reader can do this:
...
@@ -128,7 +128,7 @@ And the reader can do this:
On machines with strong memory ordering, these weaker barriers will simply
On machines with strong memory ordering, these weaker barriers will simply
prevent compiler rearrangement, without emitting any actual machine code.
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
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
on machines with weak memory ordering, a read or write barrier may be able
to use a less expensive instruction than a full barrier.
to use a less expensive instruction than a full barrier.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment