Re: Function Logging

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Bartley <ambartley(at)gmail(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-17 16:02:03
Message-ID: 20090817160203.GB4782@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 Chris Bowlby 2009-08-17 16:22:42 pg_autovacuum exceptions question
Previous Message Chris Barnes 2009-08-17 15:56:46 Pgbench tool download