Remove schema prefix from PostgreSQL tables in tree

This commit is contained in:
Ansgar Becker
2014-04-19 06:10:48 +00:00
parent 3b09b79d12
commit e10ab91d5d

View File

@ -7489,7 +7489,7 @@ begin
CellText := CellText + ' (' + FormatNumber(Sender.ChildCount[Node]) + ')';
end;
lntTable..lntEvent: begin
if DBObj.Schema <> '' then
if (DBObj.Schema <> '') and (DBObj.Connection.Parameters.NetTypeGroup = ngMSSQL) then
CellText := DBObj.Schema + '.' + DBObj.Name
else
CellText := DBObj.Name;