[collectd-changes] collectd, the system statistics collection daemon: Changes to 'collectd-4.5'

Florian Forster octo at verplant.org
Mon Mar 9 18:48:44 CET 2009


 src/postgresql_default.conf |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

New commits:
commit 54fb57fbc5658fc3d150219d07d840178d64d087
Author: Sebastian Harl <sh at tokkee.org>
Date:   Sat Mar 7 17:43:54 2009 +0100

    postgresql_default.conf: Make sure the "disk_io" query does not return NULLs.
    
    Starting with some version between 8.3.3 and 8.3.6, pg_statio_*_tables returns
    NULL instead of 0 for statistics if no instance of the appropriate relation
    exists. PQgetvalue() returns an empty string in that case which would then
    result in error messages when udb_result_submit() tries to convert that to a
    number.
    
    Now, the "disk_io" query uses PostgreSQL's coalesce() function to make sure 0
    is returned instead of NULL.




More information about the collectd-changes mailing list