pgadmin crash when click SQL query button

孤街醉人 提交于 2019-12-11 05:45:09

问题


I installed pgAdmin 3 on my windows 64bit system, when I connect to some server, click on the SQL button to execute some script, it crashed, i checked the error log, it says

2012-08-05 08:10:00 ERROR : ERROR: permission denied to create extension "adminpack" HINT: Must be superuser to create this extension.

Can you help me to solve this problem? thanks!


回答1:


adminpack is an optional extension. pgAdmin should definitely not crash if you don't have it installed.

You can try to install it manually. In PostgreSQL 9.1 run once in one of your databases:

CREATE EXTENSION adminpack;

You must be superuser for that. Normally the database user postgres is superuser.



来源:https://stackoverflow.com/questions/11838493/pgadmin-crash-when-click-sql-query-button

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!