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

Commit4b4dbf8

Browse files
author
Hiroshi Inoue
committed
Fix "Invalid XID in t_cmin" error in vacuum.
1 parentd8cedf6 commit4b4dbf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/vacuum.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.139 2000/02/18 09:29:37 inoue Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.140 2000/02/21 07:49:40 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -876,7 +876,7 @@ vc_scanheap(VRelStats *vacrelstats, Relation onerel,
876876
* If tuple is recently deleted then we must not remove it
877877
* from relation.
878878
*/
879-
if (tupgone&&tuple.t_data->t_xmax >=XmaxRecent)
879+
if (tupgone&&(tuple.t_data->t_infomask&HEAP_XMIN_INVALID)==0&&tuple.t_data->t_xmax >=XmaxRecent)
880880
{
881881
tupgone= false;
882882
nkeep++;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp