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
bd0af827
Commit
bd0af827
authored
Sep 21, 2007
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments that misspelled TransactionIdIsInProgress, per Heikki.
parent
3e77c8c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/backend/access/transam/twophase.c
src/backend/access/transam/twophase.c
+4
-4
No files found.
src/backend/access/transam/twophase.c
View file @
bd0af827
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.3
5 2007/09/08 20:31:14
tgl Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.3
6 2007/09/21 16:32:19
tgl Exp $
*
*
* NOTES
* NOTES
* Each global transaction is associated with a global transaction
* Each global transaction is associated with a global transaction
...
@@ -353,7 +353,7 @@ MarkAsPrepared(GlobalTransaction gxact)
...
@@ -353,7 +353,7 @@ MarkAsPrepared(GlobalTransaction gxact)
LWLockRelease
(
TwoPhaseStateLock
);
LWLockRelease
(
TwoPhaseStateLock
);
/*
/*
* Put it into the global ProcArray so TransactionIdInProgress considers
* Put it into the global ProcArray so TransactionIdI
sI
nProgress considers
* the XID as still running.
* the XID as still running.
*/
*/
ProcArrayAdd
(
&
gxact
->
proc
);
ProcArrayAdd
(
&
gxact
->
proc
);
...
@@ -979,8 +979,8 @@ EndPrepare(GlobalTransaction gxact)
...
@@ -979,8 +979,8 @@ EndPrepare(GlobalTransaction gxact)
* NB: a side effect of this is to make a dummy ProcArray entry for the
* NB: a side effect of this is to make a dummy ProcArray entry for the
* prepared XID. This must happen before we clear the XID from MyProc,
* prepared XID. This must happen before we clear the XID from MyProc,
* else there is a window where the XID is not running according to
* else there is a window where the XID is not running according to
* TransactionIdI
nProgress, and onlookers would be entitled to assume th
e
* TransactionIdI
sInProgress, and onlookers would be entitled to assum
e
* xact crashed. Instead we have a window where the same XID appears
*
the
xact crashed. Instead we have a window where the same XID appears
* twice in ProcArray, which is OK.
* twice in ProcArray, which is OK.
*/
*/
MarkAsPrepared
(
gxact
);
MarkAsPrepared
(
gxact
);
...
...
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