Re: Logging nested function calls...

From: "codeWarrior" <gpatnude(at)hotmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Logging nested function calls...
Date: 2006-01-10 16:03:39
Message-ID: dq0ls8$15i$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

What about putting a "RAISE NOTICE" statement inside each of your child
functions ?

"Mario Splivalo" <mario(dot)splivalo(at)mobart(dot)hr> wrote in message
news:1136900753(dot)8807(dot)31(dot)camel(at)localhost(dot)localdomain(dot)(dot)(dot)
> 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(dot)splivalo(at)mobart(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message hubert depesz lubaczewski 2006-01-10 16:20:50 Re: Logging nested function calls...
Previous Message Mario Splivalo 2006-01-10 13:45:53 Logging nested function calls...