Re:

From: Andreas Schmitz <mailinglist(at)longimanus(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re:
Date: 2013-05-29 15:12:51
Message-ID: 51A61AF3.4030801@longimanus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


pg_size_pretty does not take any arguments. You could write your own
procedure to normalize the output.

regards

Andreas

On 05/29/2013 04:33 PM, Birchall, Austen wrote:
> We have some 'big' and some 'small' tablespaces that we what to monitor using pg_tablespace_size
>
> Now we know that we can use pg_size_pretty to tidy up the output but we really need the output to be in either GB or MB consistently regardless of the actual size of the tablespace.
>
> Any ways to do this?
>
> Thanks
>
> Austen
>
>

In response to

  • at 2013-05-29 14:33:20 from Birchall, Austen

Browse pgsql-novice by date

  From Date Subject
Next Message Birchall, Austen 2013-05-29 16:20:16 Re:
Previous Message Birchall, Austen 2013-05-29 14:33:20