]> granicus.if.org Git - postgresql/commitdiff
Cleanup on xinv# table names.
authorBruce Momjian <bruce@momjian.us>
Sat, 7 Jun 1997 17:34:35 +0000 (17:34 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 7 Jun 1997 17:34:35 +0000 (17:34 +0000)
src/backend/commands/vacuum.c

index 4cbb8b6608acee6d87280ba2d26c4a0b71dd0315..867c4988b2374e03743a867c9d12bb0e5a2b6389 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.35 1997/06/07 05:18:47 momjian Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.36 1997/06/07 17:34:35 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -313,7 +313,7 @@ vc_getrels(NameData *VacRelP)
        }
 
        /* don't vacuum large objects for now - something breaks when we do */
-       if ( (strlen(rname) > 5) && rname[0] == 'x' &&
+       if ( (strlen(rname) >= 5) && rname[0] == 'x' &&
                rname[1] == 'i' && rname[2] == 'n' &&
                (rname[3] == 'v' || rname[3] == 'x') &&
                rname[4] >= '0' && rname[4] <= '9')