Re: Function Logging

From: Andrew Bartley <ambartley(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Function Logging
Date: 2009-08-18 03:50:09
Message-ID: 16d934440908172050y61e9bacfse9db99ff18d7cb9c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

So the information i have thus far is that, I am not easily able to log the
statements from a function.

Does anyone know why it was removed... that is it 7.2 logged this
information.

Thanks Again

Andrew Bartley

2009/8/18 Andrew Bartley <ambartley(at)gmail(dot)com>

> Thanks Alvaro,
>
> I still need to be able to log statements from within functions... Can you
> help with that?
>
> 2009/8/18 Alvaro Herrera <alvherre(at)commandprompt(dot)com>
>
> Andrew Bartley escribió:
>>
>> > PS on this note, how do we log PIDS? This is another "need to have" for
>> our
>> > production systems. We log user activity and trace DB activity through
>> the
>> > PIDS.
>>
>> See log_line_prefix. You can use something like '%p ' (note the space
>> at the end), or stuff like the session identifier as described in the
>> docs.
>>
>> --
>> Alvaro Herrera
>> http://www.CommandPrompt.com/
>> The PostgreSQL Company - Command Prompt, Inc.
>>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2009-08-18 04:51:30 Re: multiple paramters in aggregate function
Previous Message nick 2009-08-18 01:19:22 Re: Get most recent message between users?