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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy