From aded053a276352f7f909b6a9e537151f8eba6a9e Mon Sep 17 00:00:00 2001 From: Valery Mironov Date: Thu, 2 Jul 2026 13:31:30 +0200 Subject: [PATCH] Fix error message for Postgres connection failure --- src/postgres_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postgres_utils.cpp b/src/postgres_utils.cpp index e60bccd4a..aada4eafc 100644 --- a/src/postgres_utils.cpp +++ b/src/postgres_utils.cpp @@ -19,7 +19,7 @@ PGconn *PostgresUtils::PGConnect(const string &dsn, const string &attach_path) { char *msg_cstr = PQerrorMessage(conn); string msg = msg_cstr != nullptr ? string(msg_cstr) : string(); PQfinish(conn); - throw IOException("Unable TODO:REMOVEME to connect to Postgres at \"%s\": %s", attach_path, msg); + throw IOException("Unable to connect to Postgres at \"%s\": %s", attach_path, msg); } PQsetNoticeProcessor(conn, PGNoticeProcessor, nullptr); return conn;