25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(postgres): log underlying io error on connection failure
Jeffc86abb1ad436
diff --git a/crates/dbx-driver-postgres/src/postgres.rs b/crates/dbx-driver-postgres/src/postgres.rsindex e5115e0a8a..9a6132c0d2 100644--- a/crates/dbx-driver-postgres/src/postgres.rs+++ b/crates/dbx-driver-postgres/src/postgres.rs@@ -2997,7 +2997,9 @@ where// LISTEN/NOTIFY messages are not surfaced anywhere.Some(Ok(_)) => {}Some(Err(err)) => {- log::warn!("[postgres] connection driver error: {err}");+ // `tokio_postgres::Error`'s `Display` omits the underlying+ // I/O error, which is the only clue to why the socket died.+ log::warn!("[postgres] connection driver error: {}", error_with_sources_to_string(&err));break;}None => break,