Remove unnecessary calls of FlushRelationBuffers: there is no need

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 354049c709c9d7d0918272e10e4f30d7f8f38788
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-20T22:00:54Z
Releases: 8.1.0
Remove unnecessary calls of FlushRelationBuffers: there is no need
to write out data that we are about to tell the filesystem to drop.
smgr_internal_unlink already had a DropRelFileNodeBuffers call to
get rid of dead buffers without a write after it's no longer possible
to roll back the deleting transaction.  Adding a similar call in
smgrtruncate simplifies callers and makes the overall division of
labor clearer.  This patch removes the former behavior that VACUUM
would write all dirty buffers of a relation unconditionally.

Files