pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: codeWarrior <gpatnude@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Logging nested function calls...
Date: Tue, 10 Jan 2006 08:03:39 -0800
Message-ID: <dq0ls8$15i$1@news.hub.org> (raw)
References: <1136900753.8807.31.camel@localhost.localdomain>

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
> 





view thread (3+ messages)  latest in thread

Message-ID: <dq0ls8$15i$1@news.hub.org>
Permalink:  ../dq0ls8$15i$1@news.hub.org/
Also on:    postgresql.org/message-id/dq0ls8$15i$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gpatnude@hotmail.com
  Subject: Re: Logging nested function calls...
  In-Reply-To: <dq0ls8$15i$1@news.hub.org>
  References: <1136900753.8807.31.camel@localhost.localdomain> <dq0ls8$15i$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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