From: Hiroshi Inoue Date: Fri, 8 Dec 2000 06:43:44 +0000 (+0000) Subject: Cache invalidation for vacuum of system tables. X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=51e19c769b160f90efde56f0d7bccaa4b941decc;p=users%2Fbernd%2Fpostgres.git Cache invalidation for vacuum of system tables. --- diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c index 9c66d335c7..5b875e2e47 100644 --- a/src/backend/commands/vacuum.c +++ b/src/backend/commands/vacuum.c @@ -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 */