From: Sebastian Harl Date: Thu, 29 Jan 2009 16:17:55 +0000 (+0100) Subject: postgresql plugin: Renamed the "Query" config option to "Statement". X-Git-Tag: collectd-4.6.0~93 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=372705b865504ff06349eb8fa953a60cfe6e59dc;p=collectd.git postgresql plugin: Renamed the "Query" config option to "Statement". This makes slightly more sense and is more consistent with the dbi and oracle plugins. --- diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 113bedde..f91a2329 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -1553,7 +1553,7 @@ L. - Query "SELECT magic, spells FROM wizard WHERE host = $1;" + Statement "SELECT magic, spells FROM wizard WHERE host = $1;" Param hostname Column gauge magic Column counter spells @@ -1580,11 +1580,11 @@ following configuration options are available to define the query: =over 4 -=item B I +=item B I -Specify the I which the plugin should execute. The string may -contain the tokens B<$1>, B<$2>, etc. which are used to reference the first, -second, etc. parameter. The value of the parameters is specified by the +Specify the I which the plugin should execute. The string +may contain the tokens B<$1>, B<$2>, etc. which are used to reference the +first, second, etc. parameter. The value of the parameters is specified by the B configuration option - see below for details. To include a literal B<$> character followed by a number, surround it with single quotes (B<'>). @@ -1592,6 +1592,11 @@ Any SQL command which may return data (such as C