plpgsql debugger (pldbg) absent from 8.4?

From: Kev <kevinjamesfield(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: plpgsql debugger (pldbg) absent from 8.4?
Date: 2009-03-13 13:19:42
Message-ID: ee93d2a4-4426-457a-b1b3-24bb680680f5@v15g2000yqn.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2009-03-13 13:30:38 Re: plpgsql debugger (pldbg) absent from 8.4?
Previous Message Tom Lane 2009-03-13 12:25:30 Re: GIN, partial matches, lossy bitmaps