OSDN Git Service

Tidy up a few calls to smrgextend().
authorRobert Haas <rhaas@postgresql.org>
Thu, 19 Aug 2010 02:58:37 +0000 (02:58 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 19 Aug 2010 02:58:37 +0000 (02:58 +0000)
commitd37781fa82fa6b4316e51aca210d5fb53bd33983
treeaabcfe143c55a71661740d8e47efa8fb06d7dd18
parent3573c8346d4c1683c7052e44323abe14fb337e70
Tidy up a few calls to smrgextend().

In the new API introduced by my patch to include the backend ID in
temprel filenames, the last argument to smrgextend() became skipFsync
rather than isTemp, but these calls didn't get the memo.  It's not
really a problem to pass rel->rd_istemp rather than just plain false,
because smgrextend() now automatically skips the fsync for temprels
anyway, but this seems cleaner and saves some minute number of cycles.
src/backend/access/hash/hashpage.c
src/backend/access/heap/visibilitymap.c
src/backend/storage/freespace/freespace.c