aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Stoyan <vitstn@gmail.com>2022-05-23 16:59:36 +0300
committerVitaly Stoyan <vitstn@gmail.com>2022-05-23 16:59:36 +0300
commit04600e854650ea1168cb5b27c108662b9be56478 (patch)
treea9348f7498739ffd3c747434ba3f7b3b628bed51
parent0aa231fc39b3afea93bd53ec2d7702c24a1a4acc (diff)
downloadydb-04600e854650ea1168cb5b27c108662b9be56478.tar.gz
fix type printing
Note: mandatory check (NEED_CHECK) was skipped ref:caa706ef77b8f709c327ec70b1bb18cdbd41e6a3
-rw-r--r--ydb/library/yql/parser/pg_catalog/catalog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ydb/library/yql/parser/pg_catalog/catalog.cpp b/ydb/library/yql/parser/pg_catalog/catalog.cpp
index a7688935b4..b5e880a056 100644
--- a/ydb/library/yql/parser/pg_catalog/catalog.cpp
+++ b/ydb/library/yql/parser/pg_catalog/catalog.cpp
@@ -57,7 +57,7 @@ TString ArgTypesList(const TVector<ui32>& ids) {
str << ',';
}
- str << ids[i] ? LookupType(ids[i]).Name : "NULL";
+ str << (ids[i] ? LookupType(ids[i]).Name : "NULL");
}
str << ')';
@@ -1141,7 +1141,7 @@ const TProcDesc& LookupProc(ui32 procId, const TVector<ui32>& argTypeIds) {
}
if (!ValidateProcArgs(*procPtr, argTypeIds)) {
- throw yexception() << "Unable to find an overload for proc with oid " << procId << " with given argument types:" <<
+ throw yexception() << "Unable to find an overload for proc with oid " << procId << " with given argument types: " <<
ArgTypesList(argTypeIds);
}
@@ -1165,7 +1165,7 @@ const TProcDesc& LookupProc(const TString& name, const TVector<ui32>& argTypeIds
return *d;
}
- throw yexception() << "Unable to find an overload for proc " << name << " with given argument types:"
+ throw yexception() << "Unable to find an overload for proc " << name << " with given argument types: "
<< ArgTypesList(argTypeIds);
}