PgAdmin4 enable debugging

亡梦爱人 提交于 2019-12-08 05:54:03

问题


I am unable to enable debugging in pgAdmin4. I have performed the following: 1. checked $libdir 2. checked the locatin of plugin_debugger.dll 3. changed postgresql.conf and the database will not restart.

Any suggestions what have I done wrong?


回答1:


1) Download Postgres installer from EnterpriseDB website, they bundle debugger plugin.

2) Make an entry in the postgresql.conf file,

On Unix like systems,

shared_preload_libraries = '$libdir/plugin_debugger.so'

On Windows systems,

shared_preload_libraries = '$libdir/plugin_debugger.dll'

3) Restart your Postgres instance.

4) You have to create pldbgapi Extension in your maintenance database.

Refer given steps,

Click on Save button.

5) Goto your plpgsql function and right click on it, you will see "Debug" option.



来源:https://stackoverflow.com/questions/50038611/pgadmin4-enable-debugging

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