Fix postgres example (#28563)

This commit is contained in:
G Johansson 2023-08-14 10:34:21 +02:00 committed by GitHub
parent 31ae1aff70
commit 5250e447ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,9 +227,10 @@ Keep in mind that, depending on the update frequency of your sensor and other fa
#### Postgres #### Postgres
```sql ```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. Use `db_size` as column for value.
Replace `dsmrreader` with the correct name of your database.
#### MariaDB/MySQL #### MariaDB/MySQL