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

pgsql: Let's try forcing errno to zero before issuing fsync.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Let's try forcing errno to zero before issuing fsync.
Date: 2010-02-22 15:29:46
Message-ID: 20100222152946.6627F7541D0@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Let's try forcing errno to zero before issuing fsync.  The current buildfarm
results claiming EBADF seem improbable enough that I'm not convinced fsync
is really returning that --- could it be failing to set errno at all?

Modified Files:
--------------
    pgsql/src/port:
        copydir.c (r1.30 -> r1.31)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/copydir.c?r1=1.30&r2=1.31)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-02-22 15:42:08
Subject: Re: [COMMITTERS] Re: pgsql: Speed up CREATE DATABASE by deferring the fsyncs until after
Previous:From: Tom LaneDate: 2010-02-22 15:26:15
Subject: pgsql: Adjust pg_fsync_writethrough so that it will set errno when

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