pgsql: Remove the special variable for open_sync_bit used in O_SYNC and - Mailing list pgsql-committers

From mha@postgresql.org (Magnus Hagander)
Subject pgsql: Remove the special variable for open_sync_bit used in O_SYNC and
Date
Msg-id 20080514140257.405B47559E9@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Remove the special variable for open_sync_bit used in O_SYNC and O_DSYNC
modes, replacing it with a call to a function that derives it from the
sync_method variable, now that it has distinct values for these two cases.

This means that assign_xlog_sync_method() no longer changes any settings,
thus fixing the bug introduced in the change to use a guc enum for
wal_sync_method.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.308 -> r1.309)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.308&r2=1.309)

pgsql-committers by date:

Previous
From: mkz@pgfoundry.org (User Mkz)
Date:
Subject: plproxy - plproxy: Better poll() compat and few cleanups.
Next
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Fix a few warnings that have crept into CVS HEAD.