pgAdmin 4服务器配置工具

时间:2017-07-21 10:34:49

标签: pgadmin-4

在pgAdmin 3中,我能够通过以下方式自定义服务器配置(.config)。

Tools -> Server configuration -> postgresql.config -> change parameters -> reload server

虽然我已经进行了搜索和研究,但我无法在pgAdmin 4(v1.5)中执行此操作。任何帮助都非常有用,因为我真的需要微调PG。

2 个答案:

答案 0 :(得分:0)

总结评论和我自己的经验:该功能尚未移植回pgAdmin4(这是我回滚到pgAdmin3的原因:编辑pg_hba.conf对我们的客户非常有用&#39管理员。不幸的是,pgAdmin3仅与PostgreSQL 9.5兼容。

但是你仍然拥有" Reload"菜单中的选项" 工具>重新加载配置",您可以在手动编辑postgresql.confpg_hba.conf后使用。您必须选择“服务器”节点才能启用该选项。

答案 1 :(得分:-2)

重新加载配置

选项1:从命令行shell

su - postgres
/usr/bin/pg_ctl reload

选项2:使用SQL

SELECT pg_reload_conf();

请参阅http://www.heatware.net/databases/postgresql-reload-config-without-restarting/