diff --git a/crates/dbx-core/src/db/postgres.rs b/crates/dbx-core/src/db/postgres.rs index 70c7939079..c1ec17beb6 100644 --- a/crates/dbx-core/src/db/postgres.rs +++ b/crates/dbx-core/src/db/postgres.rs @@ -413,7 +413,7 @@ pub async fn list_databases(pool: &Pool) -> Result, String> { let stmt = client .prepare_cached( "SELECT datname FROM pg_database \ - WHERE datistemplate = false AND datallowconn = true \ + WHERE datallowconn = true \ ORDER BY datname", ) .await