- 博客(6)
- 资源 (7)
- 收藏
- 关注
原创 postgres连接时提示pg_ctl: another server might be running; trying to start server anyway
使用如下命令启动postgres数据库时,遇到如下提示信息。pg_ctl -D ..\data -l logfile startpg_ctl: another server might be running; trying to start server anywaywaiting for server to start....Active code page: 65001... doneserver started查看日志消息发现,很有可能经历过非正常关闭。2021-04-1...
2021-04-15 12:57:18 4510
原创 postgres提示pg_ctl: could not start server Examine the log output.
使用命令启动postgre数据库时,提示如下错误。pg_ctl -D ..\data -l logfile startwaiting for server to start....Active code page: 65001 stopped waitingpg_ctl: could not start serverExamine the log output.查看pgsql\bin\logfile,信息如下2021-04-15 01:02:00.566 GMT [17832] L
2021-04-15 11:16:02 96675
原创 Java的List操作
public static void testJava(){ Map m1 = new HashMap(); m1.put("Zara", "8"); m1.put("Mahnaz", "31"); m1.put("Ayan", "12"); m1.put("Daisy", "14"); System.out.println(); System.out.println...
2021-04-06 14:45:42 343
原创 进程和线程 mark
概念进程和线程的主要区别(总结)https://blog.csdn.net/kuangsonghan/article/details/80674777线程和进程的区别是什么? 知乎https://www.zhihu.com/question/25532384http://cache.baiducontent.com/c?m=aXVnfhaywEfWXeIkcOs_Ve5ILbmf1jqanuhwx9oXQghctYyauESREIaqGGBLDDE6RHSwYsYmxxyJcG...
2021-04-06 14:04:32 95
原创 Java的数组操作 —— ArrayList和HashMap
首先,看一个样例 public static void createBatteryPack(){ List<String> cellList1=new ArrayList<>(); cellList1.add("04XCED1X9AAJ4193E0001279"); cellList1.add("04XCED1X9AAJ4193F0000187"); List<String> cellList2
2021-04-06 09:07:06 349
原创 Python中的try-except
首先,基本的格式如下。部分分支可有可无。try : print(1 / 0)except Exception as e : print(e)else : print(没有异常,则执行)finally : print('最后执行')异常可能包含很多种,比如IndexError, TypeError等。...
2021-04-06 08:29:31 222
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人