diff --git a/uppsrc/PostgreSQL/PostgreSQL.cpp b/uppsrc/PostgreSQL/PostgreSQL.cpp index 19120d100..2700f3972 100644 --- a/uppsrc/PostgreSQL/PostgreSQL.cpp +++ b/uppsrc/PostgreSQL/PostgreSQL.cpp @@ -152,7 +152,9 @@ bool PostgreSQLPerformScript(const String& txt, StatementExecutor& se, Gate2= 0) + return PQerrorMessage(conn); + return FromSystemCharset(PQerrorMessage(conn)); } String PostgreSQLConnection::ErrorCode()