Update docs/maintenance-postgres.md: add the warning styling

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2025-02-10 22:36:36 +09:00
parent f41337708b
commit 39cd32aa26
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -28,7 +28,8 @@ To change to another database (for example `synapse`), run `\connect synapse` (o
You can then proceed to write queries. Example: `SELECT COUNT(*) FROM users;` You can then proceed to write queries. Example: `SELECT COUNT(*) FROM users;`
**Be careful**. Modifying the database directly (especially as services are running) is dangerous and may lead to irreversible database corruption. When in doubt, consider [making a backup](#backing-up-postgresql). > [!WARNING]
> **Modifying the database directly (especially as services are running) is dangerous and may lead to irreversible database corruption.** When in doubt, consider [making a backup](#backing-up-postgresql).
## Vacuuming PostgreSQL ## Vacuuming PostgreSQL