Cache invalidation for vacuum of system tables.
authorHiroshi Inoue <inoue@tpf.co.jp>
Fri, 8 Dec 2000 06:43:44 +0000 (06:43 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Fri, 8 Dec 2000 06:43:44 +0000 (06:43 +0000)
src/backend/commands/vacuum.c

index 9c66d335c75edbc561392f535531749817832669..5b875e2e47e96a69e5456f553c3e181b0d50e63c 100644 (file)
@@ -1849,6 +1849,11 @@ failed to add item with len = %lu to page %u (free space %lu, nusd %u, noff %u)"
                 nblocks, blkno, num_moved,
                 show_rusage(&ru0));
 
+       /* 
+        * Reflect the motion of system tuples to catalog cache here.
+        */
+        CommandCounterIncrement();
+
        if (Nvacpagelist.num_pages > 0)
        {
                /* vacuum indices again if needed */