Re: How to print application_name in log_line_prefix (using %a)? - Mailing list pgsql-general

From Chris Angelico
Subject Re: How to print application_name in log_line_prefix (using %a)?
Date
Msg-id CAPTjJmrr+pKZe6NH-gj-T8U6SYTg8QKQckHPGKZgUu9B4KDTnA@mail.gmail.com
Whole thread Raw
In response to Re: How to print application_name in log_line_prefix (using %a)?  (Tianyin Xu <tixu@cs.ucsd.edu>)
Responses Re: How to print application_name in log_line_prefix (using %a)?  (Adrian Klaver <adrian.klaver@gmail.com>)
Re: How to print application_name in log_line_prefix (using %a)?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Oct 29, 2012 at 5:44 PM, Tianyin Xu <tixu@cs.ucsd.edu> wrote:
> Got it! Thanks, Chris!
>
> I still wonder why application_name appears in the configuration file if it
> cannot take effort :-P

Not sure what you mean by that, but my postgresql.conf doesn't have
anything about application_name. But if it did, it would be a default
that an application can override.

ChrisA


pgsql-general by date:

Previous
From: salah jubeh
Date:
Subject: Streaming replication with different structure
Next
From: "Albe Laurenz"
Date:
Subject: Re: SPI_prepare's parameter