@cryptotaxi247 / netdata-1 / commits / 83b91c726

postgres.chart: Don't fail on 2.6.6.

zero length field name in format() is not supported in 2.6.6.

Facetoe committed Oct 24, 2017 at 13:57 UTC 83b91c726a0e4a0653fa3c45aa83ce414eea22ea
1 file changed +1 -1
python.d/postgres.chart.py
+1 -1
@@ -62,7 +62,7 @@ SELECT
62 CAST(COALESCE(SUM(CAST(archive_file ~ $r$\.ready$$r$ as INT)), 0) AS INT) AS ready_count,
63 CAST(COALESCE(SUM(CAST(archive_file ~ $r$\.done$$r$ AS INT)), 0) AS INT) AS done_count
64 FROM
65 - pg_catalog.pg_ls_dir('{}/archive_status') AS archive_files (archive_file);
65 + pg_catalog.pg_ls_dir('{0}/archive_status') AS archive_files (archive_file);
66 """,
67 BACKENDS="""
68 SELECT