Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ce17484

Browse files
author
Hiroshi Inoue
committed
Cache invalidation for vacuum of system tables.
1 parent d7892e0 commit ce17484

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/backend/commands/vacuum.c

Lines changed: 6 additions & 1 deletion
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.176 2000/12/03 10:27:27 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.177 2000/12/08 06:43:44 inoue Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1849,6 +1849,11 @@ failed to add item with len = %lu to page %u (free space %lu, nusd %u, noff %u)"
18491849
nblocks, blkno, num_moved,
18501850
show_rusage(&ru0));
18511851

1852+
/*
1853+
* Reflect the motion of system tuples to catalog cache here.
1854+
*/
1855+
CommandCounterIncrement();
1856+
18521857
if (Nvacpagelist.num_pages > 0)
18531858
{
18541859
/* vacuum indices again if needed */

0 commit comments

Comments
 (0)