Content-Length: 272327 | pFad | http://github.com/postgrespro/postgres/commit/4b4dbf8cba2f8af7b038823421e3f637ced50e1d

CF Fix "Invalid XID in t_cmin" error in vacuum. · postgrespro/postgres@4b4dbf8 · GitHub
Skip to content

Commit 4b4dbf8

Browse files
author
Hiroshi Inoue
committed
Fix "Invalid XID in t_cmin" error in vacuum.
1 parent d8cedf6 commit 4b4dbf8

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/4b4dbf8cba2f8af7b038823421e3f637ced50e1d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy