diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-11-26 17:08:58 +0000 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2008-11-26 17:08:58 +0000 |
| commit | 9858a8c81cc1c433e273a55a278b757716201179 (patch) | |
| tree | 8ab742101ee818c9950fd9eccce1a2f10a89db5b /src/include | |
| parent | df559de9c17c302ba09376bcc93ad72e0df7c3c9 (diff) | |
Rely on relcache invalidation to update the cached size of the FSM.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/utils/rel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h index 71ad936d274..44540dd6499 100644 --- a/src/include/utils/rel.h +++ b/src/include/utils/rel.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.108 2008/09/30 10:52:14 heikki Exp $ + * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.109 2008/11/26 17:08:58 heikki Exp $ * *------------------------------------------------------------------------- */ @@ -195,8 +195,8 @@ typedef struct RelationData List *rd_indpred; /* index predicate tree, if any */ void *rd_amcache; /* available for use by index AM */ - /* Cached last-seen size of the FSM */ - BlockNumber rd_fsm_nblocks_cache; + /* size of the FSM, or InvalidBlockNumber if not known yet */ + BlockNumber rd_fsm_nblocks; /* use "struct" here to avoid needing to include pgstat.h: */ struct PgStat_TableStatus *pgstat_info; /* statistics collection area */ |
