【发布时间】:2017-01-06 06:06:56
【问题描述】:
我有一个 9.5 版的 PostgreSQL 数据库在生产中,它具有恒定的流量。我需要更改 pg_hba.conf 文件中的值。我已经在测试服务器上确认,这可以通过重新加载 postgresql 服务来实现。
我在其他帖子和网站上读到过,调用 pg_ctl reload 不会导致 postgresql 中的实时连接中断。例如https://dba.stackexchange.com/questions/41517/is-it-safe-to-call-pg-ctl-reload-while-doing-heavy-writes
但我正在尝试找到调用pg_ctl reload 或service postgresql-9.5 reload 不会中断或影响任何打开的事务或对数据库进行的查询的具体文档。
【问题讨论】:
标签: database postgresql transactions pg postgresql-9.5