Re: plpgsql debugger (pldbg) absent from 8.4?

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Kev <kevinjamesfield(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: plpgsql debugger (pldbg) absent from 8.4?
Date: 2009-03-13 13:30:38
Message-ID: 937d27e10903130630t7f250a72k156f0ffef32942@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Mar 13, 2009 at 1:19 PM, Kev <kevinjamesfield(at)gmail(dot)com> wrote:
> On the 2009-01-01 win32 release, I noticed I could no longer debug,
> like when I'd set a breakpoint I'd immediately get the error message:
>
> syntax error at or near ","
> LINE 1: SELECT * FROM pldbg_set_global_breakpoint(, 55208, NULL,
> NUL...
>
> ...and the output pane of the debugger would show:
>
> row number 0 is out of range 0..-1
>
> Now, I noticed that pldbg.sql was not actually included (even though
> lib/pldbgapi.dll and lib/plugins/plugin_debugger.dll are), and I had
> been using the one from 8.3 to set it up.  I also noticed that for the
> function from the error message it just calls a C function, so I seem
> to have no way of working around it with just the .SQL file.
>
> Does anybody have this working on their system?  I hope in the final
> 8.4 at least that this feature is included again, because I find it
> extremely handy.

Temporary bug that's since been resolved. Sorry 'bout that.

--
Dave Page
EnterpriseDB UK: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kev 2009-03-13 13:44:12 Re: plpgsql debugger (pldbg) absent from 8.4?
Previous Message Kev 2009-03-13 13:19:42 plpgsql debugger (pldbg) absent from 8.4?