











https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
https://get.enterprisedb.com/postgresql/postgresql-18.6-3-windows-x64.exe
双击执行

在服务器 高级防火墙 入栈规则 加端口 5432
listen_addresses = '*'
lc_messages = 'UTF8'
这个改完必须重启 PostgreSQL 服务才生效
在末尾加一行
允许整个 192.168.1.x 内网
host all all 192.168.1.0/24 scram-sha-256
然后在本机 执行
SELECT pg_reload_conf();
或者直接重启服务

端口 5432
中文消息乱码
lc_messages = 'UTF8'
SELECT pg_reload_conf();
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。