aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2000-12-08 06:43:44 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2000-12-08 06:43:44 +0000
commitce1748406b5fcdd52eb9f7ad49dda823f1a021c4 (patch)
treeec89fc8990fb787c0f2e03b94aa05129137195e3 /src
parentd7892e026396cffb19ebb760fcd12f966054294b (diff)
downloadpostgresql-ce1748406b5fcdd52eb9f7ad49dda823f1a021c4.tar.gz
postgresql-ce1748406b5fcdd52eb9f7ad49dda823f1a021c4.zip
Cache invalidation for vacuum of system tables.
Diffstat (limited to 'src')
-rw-r--r--src/backend/commands/vacuum.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/commands/vacuum.c b/src/backend/commands/vacuum.c
index 254509a3304..a7a557fb0fe 100644
--- a/src/backend/commands/vacuum.c
+++ b/src/backend/commands/vacuum.c
@@ -8,7 +8,7 @@
*
*
* 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)"
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 */