Skip site navigation (1) Skip section navigation (2)

pgsql: Adjust pg_fsync_writethrough so that it will set errno when

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust pg_fsync_writethrough so that it will set errno when
Date: 2010-02-22 15:26:15
Message-ID: 20100222152615.268DF7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Adjust pg_fsync_writethrough so that it will set errno when failing
on a platform that doesn't support this operation.  The former coding
would allow an unrelated errno to be reported, which would be quite
misleading.  Not sure if this has anything to do with the current
buildfarm failures, but it's certainly bogus as-is.

Modified Files:
--------------
    pgsql/src/backend/storage/file:
        fd.c (r1.154 -> r1.155)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c?r1=1.154&r2=1.155)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-02-22 15:29:46
Subject: pgsql: Let's try forcing errno to zero before issuing fsync.
Previous:From: Tom LaneDate: 2010-02-22 14:53:59
Subject: Re: Re: pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group