Beyond Compare 4过期的问题

1、Beyond Compare 4过期的问题:

使用计划任务(控制面板-系统和安全-管理工具-计划任务-创建任务)定时删除注册表中“HKEY_CURRENT_USERSoftwareScooter SoftwareBeyond Compare 4”的CacheID。 方法:创建一个bat文件,文件内容如下

reg delete "HKEY_CURRENT_USERSoftwareScooter SoftwareBeyond Compare 4" /v CacheID /f

2、Redis双击redis-server.exe闪退的问题:

方法:创建一个bat文件,双击运行bat文件,bat文件内容如下

redis-server.exe redis.windows.conf

3、postgresql

jeecg-boot中数据库postgresql插入integer类型数据报错:

ad SQL grammar []; nested exception is org.postgresql.util.PSQLException: 错误: 字段 "xxx" 的类型为 integer, 但表达式的类型为 boolean
  建议:你需要重写或转换表达式

解决方法: 新建的数据库中执行以下语句:

update pg_cast set castcontext=a where castsource=boolean::regtype and casttarget=int4::regtype;
经验分享 程序员 微信小程序 职场和发展