Re: Is pl/pgsql debugging broken in PostgreSQL 9.0, or is it just me?

From: Kevin Field <kevinjamesfield(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Re: Is pl/pgsql debugging broken in PostgreSQL 9.0, or is it just me?
Date: 2010-11-11 19:25:17
Message-ID: d56abde9-1e97-4fc2-a0fb-1b70e8df3270@z20g2000pra.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Nov 10, 5:00 pm, dp(dot)(dot)(dot)(at)pgadmin(dot)org (Dave Page) wrote:
> On Wed, Nov 10, 2010 at 5:16 PM, Kevin Field <kevinjamesfi(dot)(dot)(dot)(at)gmail(dot)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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Guillaume Lelarge 2010-11-11 20:42:52 Re: Dependents show up twice?
Previous Message Vojtěch Látal 2010-11-11 18:53:08 Bug: Little mistake in comment in inheriting table