问题
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