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
0498a08e
Commit
0498a08e
authored
Sep 15, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve confusing comment for HeapTupleSatisfiesNow, per gripe from Greg Stark.
parent
fa6f9cea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
src/backend/utils/time/tqual.c
src/backend/utils/time/tqual.c
+11
-12
No files found.
src/backend/utils/time/tqual.c
View file @
0498a08e
...
...
@@ -32,7 +32,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.9
6 2006/09/03 15:59:39
tgl Exp $
* $PostgreSQL: pgsql/src/backend/utils/time/tqual.c,v 1.9
7 2006/09/15 16:39:32
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -253,19 +253,18 @@ HeapTupleSatisfiesItself(HeapTupleHeader tuple, Buffer buffer)
*
* The satisfaction of "now" requires the following:
*
* ((Xmin == my-transaction &&
chang
ed by the current transaction
* Cmin
!= my-command && but not by
this command, and
* ((Xmin == my-transaction &&
insert
ed by the current transaction
* Cmin
< my-command && before
this command, and
* (Xmax is null || the row has not been deleted, or
* (Xmax == my-transaction && it was deleted by the current transaction
*
Cmax != my-command))) but not by
this command,
*
Cmax >= my-command))) but not before
this command,
* || or
*
* (Xmin is committed && the row was modified by a committed transaction, and
* (Xmin is committed && the row was inserted by a committed transaction, and
* (Xmax is null || the row has not been deleted, or
*
(Xmax == my-transaction && the row is being deleted by this command, or
*
Cmax == my-command) ||
*
(Xmax is not committed
&& the row was deleted by another transaction
*
Xmax != my-transaction
)))) that has not been committed
*
(Xmax == my-transaction && the row is being deleted by this transaction
*
Cmax >= my-command) || but it's not deleted "yet", or
*
(Xmax != my-transaction
&& the row was deleted by another transaction
*
Xmax is not committed
)))) that has not been committed
*
* mao says 17 march 1993: the tests in this routine are correct;
* if you think they're not, you're wrong, and you should think
...
...
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