1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-18 02:02:55 +03:00

Arrange for VACUUM to delete the init file that relcache.c uses

to save a little bit of backend startup time.  This way, the first
backend started after a VACUUM will rebuild the init file with up-to-date
statistics for the critical system indexes.
This commit is contained in:
Tom Lane
1999-05-01 19:09:46 +00:00
parent f7d25d2ab6
commit 87d95ca04d
3 changed files with 41 additions and 20 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: relcache.h,v 1.11 1999/02/13 23:22:31 momjian Exp $
* $Id: relcache.h,v 1.12 1999/05/01 19:09:43 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -34,4 +34,10 @@ extern void RelationRegisterRelation(Relation relation);
extern void RelationPurgeLocalRelation(bool xactComitted);
extern void RelationInitialize(void);
/*
* both vacuum.c and relcache.c need to know the name of the relcache init file
*/
#define RELCACHE_INIT_FILENAME "pg_internal.init"
#endif /* RELCACHE_H */