Re: Run-time posix_fallocate failures

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jeff Davis <jdavis(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Run-time posix_fallocate failures
Date: 2013-07-06 18:09:23
Message-ID: 1373134163.15065.1.camel@jdavis
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 2013-07-06 at 10:33 -0400, Tom Lane wrote:
> Apparently OmniOS has a version of posix_fallocate that doesn't actually
> work, or at least doesn't work on the specific filesystem rover_firefly
> is using. The Single Unix Spec says that that is the correct error to
> return if the filesystem doesn't provide support:

Thank you.

> I think you'd better rejigger that patch so that it falls through to the
> old implementation if posix_fallocate() fails.

Do you mean "fails at all" or "fails with EINVAL"?

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Szymon Guz 2013-07-06 18:10:45 Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
Previous Message Pavel Stehule 2013-07-06 17:52:51 Re: planner not choosing fastest estimated plan