pg_ctl 加载启动参数文件一种不太常见的写法

$ pg_ctl start -D $PGDATA -o "-c config_file=/etc/postgresql/9.6/main/postgresql.conf"

参数说明如下

$ PGHOME/bin/pg_ctl --help
-o OPTIONS             
command line options to pass to postgres, (PostgreSQL server executable) or initdb 
$ PGHOME/bin/postgres --help
-c NAME=VALUE      set run-time parameter

相关文章:

  • 2022-12-23
  • 2022-02-07
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-14
  • 2022-03-01
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
相关资源
相似解决方案