Re: Function Logging

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Andrew Bartley <abartley(at)aimstats(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Function Logging
Date: 2009-08-17 05:07:22
Message-ID: 4A88E58A.2000503@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 17/08/2009 10:32 AM, Andrew Bartley wrote:
> Hi All,
>
> We have recently upgraded postgres from 7.2 to 8.3.
>
> I am struggling with the logging options when it comes to functions.
>
> How do log statements from within a Function?

A PL/PgSQL function?

You don't, generally.

Perhaps we should back up a step or two. Did you have statement logging
within PL/PgSQL functions in 7.2? If so, how? Why do you need statement
logging within functions? What are you trying to achieve with it?

--
Craig Ringer

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Bartley 2009-08-17 05:24:49 Re: Function Logging
Previous Message Pavel Stehule 2009-08-17 04:43:54 Re: plpgsql function to validate e-mail