Skip to content

Commit

Permalink
Merge b761f9c into f1d756b
Browse files Browse the repository at this point in the history
  • Loading branch information
lex007in authored Oct 23, 2024
2 parents f1d756b + b761f9c commit 7cececa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ydb/core/tablet_flat/flat_executor_db_mon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class TExecutor::TTxExecutorDbMon : public TTransactionBase<TExecutor> {
}
case NScheme::NTypeIds::Pg: {
auto convert = NPg::PgNativeTextFromNativeBinary(tuple.Columns[i].AsBuf(), tuple.Types[i].GetPgTypeDesc());
str << (!convert.Error ? convert.Str : *convert.Error);
str << EncodeHtmlPcdata(!convert.Error ? convert.Str : *convert.Error);
break;
}
default:
Expand Down
2 changes: 1 addition & 1 deletion ydb/core/viewer/viewer_tabletinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class TJsonTabletInfo : public TJsonWhiteboardRequest<TEvWhiteboard::TEvTabletSt
case NScheme::NTypeIds::Pg: {
NScheme::TTypeInfo typeInfo = NKikimr::NScheme::TypeInfoFromProto(type.GetTypeId(), type.GetTypeInfo());
auto convert = NPg::PgNativeTextFromNativeBinary(cell.AsBuf(),typeInfo.GetPgTypeDesc());
return !convert.Error ? convert.Str : *convert.Error;
return TStringBuilder() << '"' << (!convert.Error ? convert.Str : *convert.Error) << '"';;
}
case NScheme::NTypeIds::DyNumber: return "DyNumber";
case NScheme::NTypeIds::Uuid: return "Uuid";
Expand Down

0 comments on commit 7cececa

Please sign in to comment.