Re: "COPY TO stdout" statements occurrence in log files

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Chris Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-performance(at)postgresql(dot)org, Fernando Mertins <fernando(dot)mertins(at)gmail(dot)com>
Subject: Re: "COPY TO stdout" statements occurrence in log files
Date: 2011-01-14 22:42:43
Message-ID: AANLkTimRZR2odF1p-AyGwMQfY1TgQVo+nq0O9i-idYZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jan 14, 2011 at 23:19, Chris Browne <cbbrowne(at)acm(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2011-01-14 22:57:11 Re: Best way to get the latest revision from a table
Previous Message Nikolas Everett 2011-01-14 22:40:08 Re: Best way to get the latest revision from a table