Re: Getting total and free disk space from paths in PGDATA

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Getting total and free disk space from paths in PGDATA
Date: 2015-09-07 02:47:32
Message-ID: 9153.1441594052@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(dot)paquier(at)gmail(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2015-09-07 02:58:39 Re: Multi-column distinctness.
Previous Message Michael Paquier 2015-09-07 02:04:35 Getting total and free disk space from paths in PGDATA