debugging functions

From: Seb <spluque(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: debugging functions
Date: 2014-03-12 19:29:42
Message-ID: 87ha73dxll.fsf@net82.ceos.umanitoba.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am aware of the edb-debugger that one can use with pgadmin for
debugging functions. However, I am looking for a solution that doesn't
involve such additions to the server. I'm using a function in a SELECT
query, but it's failing for some rows in a very large table. By using
LIMIT and OFFSET I see that it runs fine for some parts of the table.
Is there some way to print the rows where it fails? For now, I've
simply modified the function to return a value that I can use in the
SELECT query to filtering, but I'm wondering whether there's a parameter
or setting that would accomplish the same thing without modifying the
function.

Thanks,

--
Seb

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2014-03-12 19:35:27 Re: debugging functions
Previous Message John R Pierce 2014-03-12 18:48:27 Re: High Level Committers Wanted