Skip to content
Snippets Groups Projects
Commit ce174840 authored by Hiroshi Inoue's avatar Hiroshi Inoue
Browse files

Cache invalidation for vacuum of system tables.

parent d7892e02
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.176 2000/12/03 10:27:27 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.177 2000/12/08 06:43:44 inoue Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1849,6 +1849,11 @@ failed to add item with len = %lu to page %u (free space %lu, nusd %u, noff %u)" ...@@ -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, nblocks, blkno, num_moved,
show_rusage(&ru0)); show_rusage(&ru0));
/*
* Reflect the motion of system tuples to catalog cache here.
*/
CommandCounterIncrement();
if (Nvacpagelist.num_pages > 0) if (Nvacpagelist.num_pages > 0)
{ {
/* vacuum indices again if needed */ /* vacuum indices again if needed */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment