fix: include postgres template databases in picker

This commit is contained in:
t8y2 2026-05-26 12:10:07 +08:00
parent 76a0b9f76d
commit affd8b38a1
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ pub async fn list_databases(pool: &Pool) -> Result<Vec<DatabaseInfo>, String> {
let stmt = client
.prepare_cached(
"SELECT datname FROM pg_database \
WHERE datistemplate = false AND datallowconn = true \
WHERE datallowconn = true \
ORDER BY datname",
)
.await