我想增加Database Navigator树中的字体。Appearance View and Editor folders我在>中找到了一个选项Tree and table views,但是除了字体之外,之间的距离tree items也在增加。
是否可以保持项目之间的距离不增加而只是以某种方式增加字体?
我有一些程序,当我在 dbeaver 中执行时可以正常工作,没有问题,但是当我从外部程序调用它时,我收到以下错误。我不想在这里复制/粘贴完整的过程,因为它非常大并且可以在 db 工具中使用。我只是复制/粘贴顶部和底部。可能是什么原因造成的?
程序:
CREATE OR REPLACE PROCEDURE MyProcedure(lot of args..)
LANGUAGE plpgsql
AS $procedure$
DECLARE
.....
.....
COMMIT;
END;
$procedure$
;
Run Code Online (Sandbox Code Playgroud)
错误:
ERROR: invalid transaction termination
Where: PL/pgSQL function MyFunction line 185 at COMMIT Call getNextException to see other errors in the batch. Line 185 at COMMIT Call getNextException to see other errors in the batch.
Run Code Online (Sandbox Code Playgroud) 我下面有以下代码。我有两个主要界面IWatch和IWatchService。Oryginally Watch()在IWatchService也没有IWatch,但自认为CollectionService无法使用Watch()方法,我决定(ISP)创建IWatch界面additionally.In CollectionService我想在构造函数通过其中DatabaseWatchService或RemoteFilesWatchService因此我把参数类型的构造函数的IWatchService<IEntity> watchService时候不过在DoIt()方法初始化fileWatcherServiceCsv变量,它说:
无法将类型'RemoteFilesWatchService'隐式转换为'IWatchService'。存在显式转换(您是否缺少演员表?)
public interface IWatch
{
void Watch();
}
public interface IWatchService<TDataEntity> where TDataEntity : IEntity
{
INotificationFactory NotificationFactory { get; }
ObservableCollection<TDataEntity> MatchingEntries { get; set; }
}
public interface IDatabaseWatchService<TDataEntity> : IWatchService<TDataEntity> where TDataEntity : IDatabaseEntity
{
IDatabaseRepository<IDbManager> DatabaseRepository { get; }
}
public interface IRemoteFilesWatchService<TDataEntity> : …Run Code Online (Sandbox Code Playgroud)