PgAdmin4启用调试 [英] PgAdmin4 enable debugging
问题描述
我无法在pgAdmin4中启用调试。我执行了以下操作:
1.检查$ libdir
2.检查plugin_debugger.dll
的位置3.更改了postgresql.conf
,数据库将不会重新启动。
任何建议我做错了什么?
1)从
2)在 postgresql.conf
文件中输入一个条目,
在类似Unix的系统上,
shared_preload_libraries ='$ libdir / plugin_debugger.so'
在Windows系统上,
shared_preload_libraries = '$ libdir / plugin_debugger.dll'
3)重新启动Postgres实例。
4)您必须在维护数据库中创建 pldbgapi
扩展名。
请参阅给定的步骤,
点击保存
按钮。
5)转到您的 plpgsql
函数,然后右键单击它,您将看到调试选项。
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) 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.
这篇关于PgAdmin4启用调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!