Re: How to print application_name in log_line_prefix (using %a)?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Tianyin Xu <tixu(at)cs(dot)ucsd(dot)edu>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chris Angelico <rosuav(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to print application_name in log_line_prefix (using %a)?
Date: 2012-10-30 00:34:46
Message-ID: 508F20A6.8040803@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/29/2012 11:03 AM, Tianyin Xu wrote:
> I see.
>
> Then it should not be included in postgresql.conf, since that makes no
> sense for setting it.
>

How do you figure? AFAIK if you set it then it will be a default for all
non-background connections. In the event a connection specifies a
application_name then that will be used.

>
> --
> Tianyin XU,
> http://cseweb.ucsd.edu/~tixu/ <http://cseweb.ucsd.edu/%7Etixu/>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message rodrigo 2012-10-30 01:06:04 Re: Too much clients connected to the PostgreSQL Database
Previous Message Kevin Grittner 2012-10-29 20:58:04 Re: Too much clients connected to the PostgreSQL Database