Re: Function Logging - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Function Logging
Date
Msg-id 20090817160203.GB4782@alvh.no-ip.org
Whole thread Raw
In response to Re: Function Logging  (Andrew Bartley <ambartley@gmail.com>)
Responses Re: Function Logging
List 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.

pgsql-general by date:

Previous
From: Chris Barnes
Date:
Subject: Pgbench tool download
Next
From: Greg Stark
Date:
Subject: Re: ERROR: attempted to delete invisible tuple