From 5250e447abbb7d4f9ff5f652097659ab6e3f1ef1 Mon Sep 17 00:00:00 2001 From: G Johansson Date: Mon, 14 Aug 2023 10:34:21 +0200 Subject: [PATCH] Fix postgres example (#28563) --- source/_integrations/sql.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/sql.markdown b/source/_integrations/sql.markdown index 5c9debc3927..831a9f265c2 100644 --- a/source/_integrations/sql.markdown +++ b/source/_integrations/sql.markdown @@ -227,9 +227,10 @@ Keep in mind that, depending on the update frequency of your sensor and other fa #### Postgres ```sql -SELECT (pg_database_size('dsmrreader')/1024/1024) as db_size; +SELECT pg_database_size('dsmrreader')/1024/1024 as db_size; ``` Use `db_size` as column for value. +Replace `dsmrreader` with the correct name of your database. #### MariaDB/MySQL