pgsql: Remove the special variable for open_sync_bit used in O_SYNC and

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove the special variable for open_sync_bit used in O_SYNC and
Date: 2008-05-14 14:02:57
Message-ID: 20080514140257.405B47559E9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-05-14 15:16:27 pgsql: Fix a few warnings that have crept into CVS HEAD.
Previous Message User Mkz 2008-05-14 12:46:27 plproxy - plproxy: Better poll() compat and few cleanups.