projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b622cb7
)
Cache invalidation for vacuum of system tables.
author
Hiroshi Inoue
<inoue@tpf.co.jp>
Fri, 8 Dec 2000 06:43:44 +0000
(06:43 +0000)
committer
Hiroshi Inoue
<inoue@tpf.co.jp>
Fri, 8 Dec 2000 06:43:44 +0000
(06:43 +0000)
src/backend/commands/vacuum.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/vacuum.c
b/src/backend/commands/vacuum.c
index 9c66d335c75edbc561392f535531749817832669..5b875e2e47e96a69e5456f553c3e181b0d50e63c 100644
(file)
--- 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 */