Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit448332a

Browse files
committed
TupleUpdatedByCurXactAndCmd () changed due to
Fix very old bug which made tuples changed/inserted by a commndvisible to command itself (so we had multiple update of updated tuples,etc).
1 parentd8933d5 commit448332a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/access/common/heapvalid.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.15 1997/08/26 23:31:22 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/common/Attic/heapvalid.c,v 1.16 1997/08/29 09:12:20 vadim Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -145,7 +145,7 @@ TupleUpdatedByCurXactAndCmd(HeapTuple t)
145145
{
146146
if (TransactionIdEquals(t->t_xmax,
147147
GetCurrentTransactionId())&&
148-
t->t_cmax==GetCurrentCommandId())
148+
CommandIdGEScanCommandId (t->t_cmax))
149149
return true;
150150

151151
return false;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp