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

Florian Forster octo at verplant.org
Sat Feb 14 15:51:30 CET 2009


 src/utils_db_query.c |  213 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 213 insertions(+), 0 deletions(-)

New commits:
commit 0bd2ee0aaa95cef6155ba0418ddcc1f68bfa7521
Author: Florian Forster <octo at leeloo.lan.home.verplant.org>
Date:   Sat Feb 14 15:44:07 2009 +0100

    src/utils_db_query.c: Add support for the `Column' configuration option.
    
    The support has been implemented as unobtrusively as possible:
    
     - The `udb_result_t' type now has two new members:
       `legacy_mode' and `legacy_position'. The `legacy_mode' member is used
       to switch to a new set of functions for handling these special
       results.
    
     - Those ``legacy results'' use only a small subset of the members in
       `udb_result_t'. The different behavior has been put in the following
       functions:
         udb_legacy_result_finish_result
         udb_legacy_result_handle_result
         udb_legacy_result_prepare_result
         udb_legacy_result_create
    
     - The non-legacy counterparts to finish, handle, and prepare
       automatically call the legacy version if the `legacy_mode' member is
       set to `1'.
    
    WARNING: Untested code, the PostgreSQL plugin still needs to be ported.




More information about the collectd-changes mailing list