Re: BUG #6389: Fsync failed while creating DB

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: anjali_524(at)yahoo(dot)co(dot)in
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6389: Fsync failed while creating DB
Date: 2012-01-13 15:05:07
Message-ID: CA+TgmoY+yt+P8OpjJ-LURk-R=NCtEdEbX5kFJOHCjU+mv-0xMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jan 10, 2012 at 1:02 AM, <anjali_524(at)yahoo(dot)co(dot)in> wrote:
> Thanks for the solution. CIFS worked with fsync flag by ingnoring EINVAL in
> copydir.c.
>
> I tested fsync with 8.2.2 version of PostgreSQL, it worked fine without
> EINVAL patch. I wanted to know is something changed in version 9.0.4 of
> postgreSQL.
>
> As fsync flag was not working with PostgreSQL version 9.0.4 without applying
> the patch.

Sure, lots of stuff has changed since REL8_2_2 - that release is
almost 5 years old. I'm not sure it's really important to drill down
and find out exactly which change introduced this problem, but you
could start by trying 8.2.23, 8.3.x, 8.4.x, etc. if you want to try to
figure it out.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message baxterstockman 2012-01-13 15:39:18 BUG #6398: Your projects.postgresql.org site is down
Previous Message bhatia_80 2012-01-13 11:31:40 BUG #6397: I am getting error on CIFS with fsync parameter on