From 5090238f2bd3761778a19ef3f5e9d32911444324 Mon Sep 17 00:00:00 2001 From: Bernd Ahlers Date: Mon, 10 Jun 2013 15:48:14 +0200 Subject: [PATCH] Unbreak type_inst value in collectd psql view. Signed-off-by: Florian Forster --- contrib/postgresql/collectd_insert.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/postgresql/collectd_insert.sql b/contrib/postgresql/collectd_insert.sql index fb44bb4f..00c5519b 100644 --- a/contrib/postgresql/collectd_insert.sql +++ b/contrib/postgresql/collectd_insert.sql @@ -104,7 +104,7 @@ CREATE OR REPLACE VIEW collectd WHEN type_inst IS NOT NULL THEN '-' ELSE '' END - || coalesce(plugin_inst, '') AS identifier, + || coalesce(type_inst, '') AS identifier, tstamp, name, value FROM identifiers JOIN values -- 2.30.2