One - One Code All

Blog Content

postgresql修改配置生效方法

PostgreSQL   2013-03-27 18:26:46

重新加载数据库配置的方法有三种:


1. 用超级用户运行

postgres=# SELECT pg_reload_conf();


2. 用UNIX的kill手动发起HUP信号

$ kill -HUP PID

 

3.使用pg_ctl命令触发SIGHUP信号

$ pg_ctl reload



上一篇:量化:常见策略指标合集
下一篇:git追踪远程分支

The minute you think of giving up, think of the reason why you held on so long.