On Mon, Sep 7, 2015 at 11:47 AM, Tom Lane <t...@sss.pgh.pa.us> wrote:
> Michael Paquier <michael.paqu...@gmail.com> writes:
>> statvfs is part of the POSIX spec and is "normally" present on modern
>> platforms (BSD, OSX, Linux and Solaris have it as far as I saw, still
>> there may be some strange platform without it).
>
> There are considerably less strange platforms that have per-user
> disk quotas.  I wonder what statvfs does with those.

This does not seem good on this side. On Linux for example statvfs and
statfs return information about the FS and not the quotas related to
the user calling it, which would be what is actually interesting in
our case when PG is run by a user under which hard-limit quotas are
applying :(
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to