ZhangZhihui's Blog  
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 78 下一页

2023年11月29日

摘要: The default timezone of a newly created database is UTC. You can set the timezone to a new value sessionly or globally: zzh@ZZHPC:~$ docker exec -it p 阅读全文
posted @ 2023-11-29 15:38 ZhangZhihuiAAA 阅读(19) 评论(0) 推荐(0) 编辑
 
摘要: Problem: sqlc can't recognize PostgreSQL data types numeric and decimal with the default database driver package database/sql, it makes them string. U 阅读全文
posted @ 2023-11-29 08:40 ZhangZhihuiAAA 阅读(37) 评论(0) 推荐(0) 编辑

2023年11月28日

摘要: go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest zzh@ZZHPC:~$ sqlc version v1.24.0 zzh@ZZHPC:/zdata/Github/zimplebank$ sqlc init sqlc.yaml is added 阅读全文
posted @ 2023-11-28 18:57 ZhangZhihuiAAA 阅读(8) 评论(0) 推荐(0) 编辑
 
摘要: 阅读全文
posted @ 2023-11-28 18:31 ZhangZhihuiAAA 阅读(5) 评论(0) 推荐(0) 编辑

2023年11月27日

摘要: zzh@ZZHPC:~$ sudo apt install postgresql-client zzh@ZZHPC:~$ psql --version psql (PostgreSQL) 14.9 (Ubuntu 14.9-0ubuntu0.22.04.1) zzh@ZZHPC:~$ psql po 阅读全文
posted @ 2023-11-27 20:33 ZhangZhihuiAAA 阅读(34) 评论(0) 推荐(0) 编辑
 
摘要: Got below error: Makefile:2: *** missing separator. Stop. Check the Makefile using cat -e -t -v: zzh@ZZHPC:/zdata/Github/zimplebank$ cat -vE -t Makefi 阅读全文
posted @ 2023-11-27 19:25 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0) 编辑
 
摘要: Global replacement really uses two ex commands: :g (global) and :s (substitute). Since the syntax of global replacement commands can get fairly comple 阅读全文
posted @ 2023-11-27 16:26 ZhangZhihuiAAA 阅读(16) 评论(0) 推荐(0) 编辑
 
摘要: zzh@ZZHPC:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy zzh@ZZ 阅读全文
posted @ 2023-11-27 11:13 ZhangZhihuiAAA 阅读(50) 评论(0) 推荐(0) 编辑

2023年11月25日

摘要: The keyboard shortcut "Ctrl+Shift+L" used to work well to get into column editing mode, but it isn't working now. Checking the shortcut: Deleting the 阅读全文
posted @ 2023-11-25 20:27 ZhangZhihuiAAA 阅读(31) 评论(0) 推荐(0) 编辑

2023年11月23日

摘要: 阅读全文
posted @ 2023-11-23 22:45 ZhangZhihuiAAA 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 78 下一页