pgsql: Tidy up a few calls to smrgextend().

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tidy up a few calls to smrgextend().
Date: 2010-08-19 02:58:37
Message-ID: 20100819025837.B06077541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/access/hash:
hashpage.c (r1.83 -> r1.84)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/hash/hashpage.c?r1=1.83&r2=1.84)
pgsql/src/backend/access/heap:
visibilitymap.c (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/heap/visibilitymap.c?r1=1.11&r2=1.12)
pgsql/src/backend/storage/freespace:
freespace.c (r1.78 -> r1.79)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/freespace/freespace.c?r1=1.78&r2=1.79)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2010-08-19 05:57:36 pgsql: Remove extra newlines at end and beginning of files, add missing
Previous Message Tom Lane 2010-08-18 21:52:32 pgsql: Reset the per-output-tuple exprcontext each time through the main