On Thu, 22 Sep 2016 14:23:20 +0200
Sylvain Marechal <marechal(dot)sylvain2(at)gmail(dot)com> wrote:
> Hello all,
>
> is there a way to monitor the size of the pg_xlog directory in SQL? The
> goal is to monitor the pg_xlog file without ressorting to a 'du' like
> solution that needs a direct access to the machine.
You might be inspired by the following query:
https://github.com/OPMDG/check_pgactivity/blob/master/check_pgactivity#L6156
Regards,