pgsql: Tidy up a few calls to smrgextend(). - Mailing list pgsql-committers

From rhaas@postgresql.org (Robert Haas)
Subject pgsql: Tidy up a few calls to smrgextend().
Date
Msg-id 20100819025837.B06077541D7@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Reset the per-output-tuple exprcontext each time through the main
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Remove extra newlines at end and beginning of files, add missing