Re: Logging nested function calls... - Mailing list pgsql-admin

From codeWarrior
Subject Re: Logging nested function calls...
Date
Msg-id dq0ls8$15i$1@news.hub.org
Whole thread Raw
In response to Logging nested function calls...  (Mario Splivalo <mario.splivalo@mobart.hr>)
List pgsql-admin
What about putting a "RAISE NOTICE" statement inside each of your child
functions ?


"Mario Splivalo" <mario.splivalo@mobart.hr> wrote in message
news:1136900753.8807.31.camel@localhost.localdomain...
> Dobar dan! (Means 'good day' in Croatian)
>
> I have a postgres (plpgsql) function that calls other (plpgsql and sql)
> functions. Those plpgsql functions then may call other plpsql or sql
> functions.
>
> The 'problem' is that, in the log file, I only see the top calling
> function, the one that client called. Is there a way to tell postgres to
> log all the nested functions?
>
> I'm using postgresql 8.1.2.
>
> Thanks in advance.
>
> Mike
> --
> Mario Splivalo
> Mob-Art
> mario.splivalo@mobart.hr
>
> "I can do it quick, I can do it cheap, I can do it well. Pick any two."
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>



pgsql-admin by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: Logging nested function calls...
Next
From: Juan Pablo Yañez
Date:
Subject: Unsuscribe