mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Fix postgres example (#28563)
This commit is contained in:
parent
31ae1aff70
commit
5250e447ab
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user