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
8bb4dab9
Commit
8bb4dab9
authored
Dec 07, 2000
by
Hiroshi Inoue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RecordTransactionAbort() shouldn't log XLOG_XACT_ABORT
if the transaction has already been committed ?
parent
5cf81b3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/backend/access/transam/xact.c
src/backend/access/transam/xact.c
+2
-2
No files found.
src/backend/access/transam/xact.c
View file @
8bb4dab9
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.8
7 2000/12/03 10:27:26 vadim
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.8
8 2000/12/07 10:03:46 inoue
Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
...
...
@@ -783,7 +783,7 @@ RecordTransactionAbort(void)
{
TransactionId
xid
=
GetCurrentTransactionId
();
if
(
MyLastRecPtr
.
xrecoff
!=
0
)
if
(
MyLastRecPtr
.
xrecoff
!=
0
&&
!
TransactionIdDidCommit
(
xid
)
)
{
xl_xact_abort
xlrec
;
XLogRecPtr
recptr
;
...
...
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