- 下载 win x86-64
https://www.enterprisedb.com/download-postgresql-binaries - 初始化
C:\install\postgres\pgsql\bin\initdb.exe -D C:\install\postgres\pgsql\data -E UTF8 - 启动服务
C:\install\postgres\pgsql\bin\pg_ctl -D C:\install\postgres\pgsql\data -l logfile.log start - 查看进程是否启动
netstat -aon | findstr 5432 - 登入
C:\install\postgres\pgsql\bin\psql.exe postgres - 查看所有数据库
\l -
修改连接参数及work大小
-
打开
C:\install\postgres\pgsql\data\postgresql.auto.conf
- 添加
```
# Do not edit this file manually!