*** src/backend/commands/vacuum.c 2007-02-16 04:53:22.000000000 +0530 --- src/backend/commands/vacuum.c 2007-03-08 09:25:15.016991272 +0530 *************** *** 718,724 **** --- 718,732 ---- * If anything changed, write out the tuple */ if (dirty) + { heap_inplace_update(rd, ctup); + /* the above sends a cache inval message */ + } + else + { + /* no need to change tuple, but force relcache inval anyway */ + CacheInvalidateRelcacheByTuple(ctup); + } heap_close(rd, RowExclusiveLock); }