如何使用 pgAdmin 3 编辑`postgresql.conf`?

Bas*_*que 10 postgresql pgadmin

如何使用 pgAdmin 应用程序编辑“postgresql.conf”文件?

在 Postgres 9.3.x 上使用 pgAdmin 1.18.1,当我选择File>Open postgresql.conf,会出现一个文件选择器对话框。而且,是的,我在 pgAdmin 中以超级用户“postgres”的身份连接。

我知道我已经在旧版本的 Postgres 中做到了这一点。

Bas*_*que 10

在 pgAdmin…

  • 编辑postgresql.conf文件:
    选择Tools>Server Configuration>postgresql.conf
  • 编辑pg_hba.conf文件:
    选择Tools> Server Configuration>pg_hba.conf

避免使用红鲱鱼文件菜单:

  • File > Open postgresql.conf
  • File > Open pg_hba.conf

菜单项的屏幕截图:工具 > 服务器配置 > postgresql.conf

  • 仅供参考,此功能取决于“adminpack”扩展。见 https://dba.stackexchange.com/a/174503/125589 (3认同)