ZhangZhihui's Blog |
|
||
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 阅读全文
摘要:
Problem: sqlc can't recognize PostgreSQL data types numeric and decimal with the default database driver package database/sql, it makes them string. U 阅读全文
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 阅读全文
摘要:
阅读全文
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 阅读全文
摘要:
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 阅读全文
摘要:
Global replacement really uses two ex commands: :g (global) and :s (substitute). Since the syntax of global replacement commands can get fairly comple 阅读全文
摘要:
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 阅读全文
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 阅读全文
2023年11月23日 |
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |