aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-11-26 17:08:58 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2008-11-26 17:08:58 +0000
commit9858a8c81cc1c433e273a55a278b757716201179 (patch)
tree8ab742101ee818c9950fd9eccce1a2f10a89db5b /src/backend/access/transam/xlogutils.c
parentdf559de9c17c302ba09376bcc93ad72e0df7c3c9 (diff)
downloadpostgresql-9858a8c81cc1c433e273a55a278b757716201179.tar.gz
postgresql-9858a8c81cc1c433e273a55a278b757716201179.zip
Rely on relcache invalidation to update the cached size of the FSM.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
-rw-r--r--src/backend/access/transam/xlogutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogutils.c b/src/backend/access/transam/xlogutils.c
index b481a5ef1d4..466cc648581 100644
--- a/src/backend/access/transam/xlogutils.c
+++ b/src/backend/access/transam/xlogutils.c
@@ -11,7 +11,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.63 2008/11/19 10:34:50 heikki Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlogutils.c,v 1.64 2008/11/26 17:08:57 heikki Exp $
*
*-------------------------------------------------------------------------
*/
@@ -376,7 +376,7 @@ CreateFakeRelcacheEntry(RelFileNode rnode)
rel->rd_lockInfo.lockRelId.relId = rnode.relNode;
rel->rd_targblock = InvalidBlockNumber;
- rel->rd_fsm_nblocks_cache = InvalidBlockNumber;
+ rel->rd_fsm_nblocks = InvalidBlockNumber;
rel->rd_smgr = NULL;
return rel;