Re: "COPY TO stdout" statements occurrence in log files - Mailing list pgsql-performance

From Marti Raudsepp
Subject Re: "COPY TO stdout" statements occurrence in log files
Date
Msg-id AANLkTimRZR2odF1p-AyGwMQfY1TgQVo+nq0O9i-idYZw@mail.gmail.com
Whole thread Raw
In response to Re: "COPY TO stdout" statements occurrence in log files  (Chris Browne <cbbrowne@acm.org>)
List pgsql-performance
On Fri, Jan 14, 2011 at 23:19, Chris Browne <cbbrowne@acm.org> wrote:
> 2.  In 9.1, there will be a new answer, as there's a GUC to indicate the
> "application_name".

Actually this was already introduced in PostgreSQL 9.0 :)

You can add application_name to your log_line_prefix with %a. For
pg_dump it will display "pg_dump"

Regards,
Marti

pgsql-performance by date:

Previous
From: Nikolas Everett
Date:
Subject: Re: Best way to get the latest revision from a table
Next
From: "Kevin Grittner"
Date:
Subject: Re: Best way to get the latest revision from a table