Re: Has anyone tried out the PL/pgSQL debugger?

From: John DeSoi <desoi(at)pgedit(dot)com>
To: korry(dot)douglas <korry(dot)douglas(at)enterprisedb(dot)com>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Has anyone tried out the PL/pgSQL debugger?
Date: 2007-09-05 03:49:45
Message-ID: 28C5BB83-CD04-4590-8844-3E9EDBAFA1BB@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Sep 4, 2007, at 8:55 PM, korry.douglas wrote:

> Sorry about that John, there's a fix for this problem (it's an 8.2
> versus 8.3 issue) in the CVS repository. I thought I had rolled a
> new tarball after committing the fix but I guess not.
>
> You can pull the latest plugin_profiler.c from:

Thanks Korry, that fixed it.

Is there any documentation that describes how to use the SQL
functions? Some are obvious enough, but a simple example showing a
debugging session would be helpful.

In some simple tests it seems to work OK with pgAdmin (1.8b3) on OS
X. There appears to be a pgAdmin bug when you start a debug session
on a function that has no parameters:

ERROR: syntax error at or near ")"
LINE 1: SELECT * FROM myschema.myfunction)
^

Thanks for doing this project -- looks great.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-09-05 03:49:49 Re: Lazy xid assignment V4
Previous Message Gregory Stark 2007-09-05 01:12:40 Re: Updatable cursor doubt