Re: [HACKERS] 9.5 new setting "cluster name" and logging

From: Joe Conway <mail(at)joeconway(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Evan Rempel <erempel(at)uvic(dot)ca>
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] 9.5 new setting "cluster name" and logging
Date: 2016-02-08 16:30:49
Message-ID: 56B8C2B9.8020009@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On 02/08/2016 06:24 AM, Andres Freund wrote:
> On 2016-01-29 22:19:45 -0800, Evan Rempel wrote:
>> Now that there is a setting to give a cluster a "name", it would be nice to
>> have an escape sequence in the log_line_prefix setting that could reference
>> the cluster_name.
>
> I've argued[1][2] for this when cluster_name was introduced, but back
> then I seemed to have been the only one arguing for it. Josh later
> jumped that train.
>
> Given that we now had a number of people wishing for this, can we maybe
> reconsider?

Seems like a reasonable idea to me. But if we add a log_line_prefix
setting, shouldn't we also add it to csvlog output too?

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message kwfarrell 2016-02-08 20:28:00 Re: A local replication entry
Previous Message Andres Freund 2016-02-08 14:24:29 Re: 9.5 new setting "cluster name" and logging

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2016-02-08 18:01:58 Re: [patch] Proposal for \crosstabview in psql
Previous Message Daniel Verite 2016-02-08 16:24:03 Re: Add schema-qualified relnames in constraint error messages.