On Nov 10, 5:00 pm, dp...@pgadmin.org (Dave Page) wrote:
> On Wed, Nov 10, 2010 at 5:16 PM, Kevin Field <kevinjamesfi...@gmail.com> wrote:
> > LOAD '$libdir/plugins/plugin_debugger.dll';
> > show shared_preload_libraries;
>
> > ...returns a blank row. The DLL is present, and if I change the load
> > string, it complains, so I'm pretty sure it's finding the DLL okay,
> > but not successfully loading it. show local_preload_libraries returns
> > the same thing.
>
> LOADing the DLL won't make it show up there - you need to modify that
> config directive in postgresql.conf
Oops! So...I added this to postgresql.conf:
shared_preload_libraries = '$libdir/plugins/plugin_debugger.dll' #
(change requires restart)
...and restarted. Now "show shared_preload_libraries" returns
"$libdir/plugins/plugin_debugger.dll", but the debugging options are
still greyed out in pgAdminIII. All of the pldbg_* functions exist in
the schema I'm looking at. What's next?
Thanks,
Kev