mercredi 22 avril 2015

How to get the current free disk space in Postgres?

I need to be sure that I have at least 1Gb of free disk space before start doing some work in my database. I'm looking for something like this:

select pg_get_free_disk_space();

Is it possible? (I found nothing about it in docs).

PG: 9.3 & OS: Linux/Windows

Aucun commentaire:

Enregistrer un commentaire