Re: pl/SQL debugging in PostgreSQL

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Holzman <michaelholzman(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: pl/SQL debugging in PostgreSQL
Date: 2019-01-25 14:42:47
Message-ID: 26170.1548427367@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Michael Holzman <michaelholzman(at)gmail(dot)com> writes:
> What are the ways of development and debugging of pl/SQL code in PG? Any
> suggestions/hints will be very appreciated.

The standard low-tech way is to sprinkle RAISE NOTICE (or maybe RAISE LOG)
actions throughout your function. The only real alternative I know about
is EDB's pl/debugger, which I think used to be available standalone but
these days it seems like they only provide it with the pgAdmin GUI.

https://www.pgadmin.org

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Alvaro Herrera 2019-01-25 15:33:22 Re: pl/SQL debugging in PostgreSQL
Previous Message Michael Holzman 2019-01-25 08:39:17 pl/SQL debugging in PostgreSQL