From: | "Dave Page" <dpage(at)pgadmin(dot)org> |
---|---|
To: | robert(at)webtent(dot)com |
Cc: | PostgreSQL <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Installing debugger |
Date: | 2008-05-16 13:27:50 |
Message-ID: | 937d27e10805160627wdd73be3i76f471b05e4cc2a3@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, May 16, 2008 at 1:32 PM, Robert Fitzpatrick <lists(at)webtent(dot)net> wrote:
> I have built posgresql 8.3.1 on a FreeBSD 6.1 via the ports system
> WITH_DEBUG=true and also on a Windows machine with the debugger
> selected. I see the plugin_debugger.dll under the lib/plugins folder on
> the Windows machine as well. But when I look for the procs, they are not
> there....
>
> template1=# select * from pg_proc where proname like 'pldbg%';
> proname | pronamespace | proowner | prolang | procost | prorows | proisagg | prosecdef | proisstrict | proretset | provolatile | pronargs | prorettype | proargtypes | proallargtypes | proargmodes | proargnames | prosrc | probin | proconfig | proacl
> ---------+--------------+----------+---------+---------+---------+----------+-----------+-------------+-----------+-------------+----------+------------+-------------+----------------+-------------+-------------+--------+--------+-----------+--------
> (0 rows)
>
> Can someone help or point me to some docs that can tell me what else I
> need to do to enable debugging plpgsql?
There is a README with the plugin which tells you how to modify
postgresql.conf to preload the libraries at server start (which you
must do). Once you've done that, just run the pldbgapi.sql script
that's also included to load the api functions into the database you
wish to debug.
--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Maarten Deprez | 2008-05-16 13:35:03 | escaping and quoting |
Previous Message | Merlin Moncure | 2008-05-16 13:06:40 | Re: How to create a function with multiple RefCursor OUT parameters |