pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@gmail.com>
To: mario.splivalo@mobart.hr
Cc: pgsql-admin@postgresql.org
Subject: Re: Logging nested function calls...
Date: Tue, 10 Jan 2006 17:20:50 +0100
Message-ID: <9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com> (raw)
In-Reply-To: <1136900753.8807.31.camel@localhost.localdomain>
References: <1136900753.8807.31.camel@localhost.localdomain>

On 1/10/06, Mario Splivalo <mario.splivalo@mobart.hr> wrote:
>
> 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?
>

smiply use:
raise log '....'
at the beginning of your functions.
will work.

depesz

view thread (3+ messages)

Message-ID: <9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com>
Permalink:  ../9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com/
Also on:    postgresql.org/message-id/9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com

 · 

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: depesz@gmail.com, mario.splivalo@mobart.hr
  Subject: Re: Logging nested function calls...
  In-Reply-To: <9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com>
  References: <1136900753.8807.31.camel@localhost.localdomain> <9e4684ce0601100820g3f8bfc76l163257a5da7455a3@mail.gmail.com>

* 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