Wener Site

PostgreSQL 配置

约 1 分钟阅读
标签:配置
bash
# 使用 socket 连接 - 如果配置了 pg_hba.conf local 则不需要密码
psql -h /var/run/postgresql -U postgres -d postgres

# root -> postgres
su -l postgres -s /bin/bash

# SIGHUP 重载配置
pg_ctl reload -D /var/lib/postgresql/data/pgdata
  • /var/run/postgresql/
    • .s.PGSQL.5432
sql
SELECT pg_reload_conf();

SSL

关联信息

反向链接和本文引用的外部资料。

References

GitHub

1 条

其他外链

6 条
最近更新commit affb38bEdit

On this page