Re: Cluster name in ps output

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Cluster name in ps output
Дата
Msg-id 20140505172247.GA17909@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Cluster name in ps output  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Cluster name in ps output
Список pgsql-hackers
On 2014-05-05 13:07:48 -0400, Tom Lane wrote:
> Andres Freund <andres@2ndquadrant.com> writes:
> > On 2014-05-05 10:07:46 -0400, Tom Lane wrote:
> >> Also, -1 for adding another log_line_prefix escape.  If you're routing
> >> multiple clusters logging to the same place (which is already a bit
> >> unlikely IMO), you can put distinguishing strings in log_line_prefix
> >> already.  And it's not like we've got an infinite supply of letters
> >> for those escapes.
> 
> > Using syslog and including the same config file from multiple clusters
> > isn't that uncommon. But I can live without it.
> 
> So, if you are sharing a config file, how is it that you can set a
> per-cluster cluster_name but not a per-cluster log_line_prefix?

Well, it's a included file. With log_line_prefix support just
cluster_name has to be set per cluster. Without you need string
interpolation in the config management to include cluster_name in
log_line_prefix.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: New and interesting replication issues with 9.2.8 sync rep
Следующее
От: Andres Freund
Дата:
Сообщение: Re: New and interesting replication issues with 9.2.8 sync rep