mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix(metrics): warning - postgres - failed to get database size (expected 0 arguments, got 1)
This commit is contained in:
parent
97a10cc08a
commit
2e0e791853
@ -16,7 +16,7 @@ FROM information_schema.tables
|
||||
WHERE table_schema = ?
|
||||
GROUP BY table_schema`
|
||||
|
||||
const sizeTplPostgres = `SELECT pg_database_size('%s');`
|
||||
const sizeTplPostgres = `SELECT pg_database_size(?);`
|
||||
|
||||
const sizeTplSqlite = `
|
||||
SELECT page_count * page_size as size
|
||||
|
Loading…
Reference in New Issue
Block a user