pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Debugger for plpgsql
3+ messages / 3 participants
[nested] [flat]

* Debugger for plpgsql
@ 2022-07-31 21:09  Vincent Predoehl <vpredoehl@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Vincent Predoehl @ 2022-07-31 21:09 UTC (permalink / raw)
  To: pgsql-admin@lists.postgresql.org

Is there a Debugger for postgresql?  The only thing I could find was PLDebuggef and I had trouble getting it to compile.

Sent from my iPad




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Debugger for plpgsql
@ 2022-08-01 09:12  hubert depesz lubaczewski <depesz@depesz.com>
  parent: Vincent Predoehl <vpredoehl@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: hubert depesz lubaczewski @ 2022-08-01 09:12 UTC (permalink / raw)
  To: Vincent Predoehl <vpredoehl@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org

On Sun, Jul 31, 2022 at 04:09:41PM -0500, Vincent Predoehl wrote:
> Is there a Debugger for postgresql?  The only thing I could find was
> PLDebuggef and I had trouble getting it to compile.

Quick search showed that there is something called plpgsql_debugger from
OmniDB (https://github.com/OmniDB/plpgsql_debugger), but truth be told,
when I'm writing/debugging stuff, I rely on RAISE LOG/NOTICE.

Best regards,

depesz






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Debugger for plpgsql
@ 2022-08-01 09:49  Julien Rouhaud <rjuju123@gmail.com>
  parent: Vincent Predoehl <vpredoehl@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Julien Rouhaud @ 2022-08-01 09:49 UTC (permalink / raw)
  To: Vincent Predoehl <vpredoehl@gmail.com>; +Cc: pgsql-admin@lists.postgresql.org

Hi,

On Sun, Jul 31, 2022 at 04:09:41PM -0500, Vincent Predoehl wrote:
> Is there a Debugger for postgresql?  The only thing I could find was
> PLDebuggef and I had trouble getting it to compile.

You meant for plpgsql then?

A bit unrelated, but if you're doing any non trivial code in plpgsql you should
definitely use plpgsql_check (https://github.com/okbob/plpgsql_check).  It's an
incredibly useful extension that will avoid a lot of problems.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-08-01 09:49 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-07-31 21:09 Debugger for plpgsql Vincent Predoehl <vpredoehl@gmail.com>
2022-08-01 09:12 ` hubert depesz lubaczewski <depesz@depesz.com>
2022-08-01 09:49 ` Julien Rouhaud <rjuju123@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox